Returns duplicated string.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public static string Repeat(
	string value,
	int count
)

Parameters

value
Type: System..::.String
String which will be duplicated.
count
Type: System..::.Int32
The times of duplications.

Return Value

String which is count times duplicated from a source string value.

Exceptions

ExceptionCondition
System..::.ArgumentNullException value is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also