UtilStringGenerateRandomString(Char, Int32) Method

Generates a random string of the specified length using the specified characters.

Definition

Namespace: DevCase.Core.DataProcessing.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string GenerateRandomString(
	char[] charSet,
	int length
)

Parameters

charSet  Char
The character set.
length  Int32
The target string length.

Return Value

String
The resulting string.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Exceptions

ArgumentNullException charSet

See Also