Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
StringUtils..::.Dup Method (Char, Int32)
StringUtils Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Create a String of the specified length containing the specified character.

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    public static string Dup(
    	char ch,
    	int length
    )

#### Parameters

ch
  Type: System..::.Char
  The character to fill the String with.

length
  Type: System..::.Int32
  The length of the String.

#### Return Value

A String containing the character ch repeated length times.

# See Also

StringUtils Class
Dup Overload
Tangosol.Util Namespace