Method RandomRealisticUnicodeString
RandomRealisticUnicodeString(Random)
Returns random string of length between 0-20 codepoints, all codepoints within the same unicode block.
Declaration
public static string RandomRealisticUnicodeString(Random r)
Parameters
Type |
Name |
Description |
Random |
r |
|
Returns
Type |
Description |
System.String |
|
RandomRealisticUnicodeString(Random, Int32)
Returns random string of length up to maxLength codepoints , all codepoints within the same unicode block.
Declaration
public static string RandomRealisticUnicodeString(Random r, int maxLength)
Parameters
Type |
Name |
Description |
Random |
r |
|
System.Int32 |
maxLength |
|
Returns
Type |
Description |
System.String |
|
RandomRealisticUnicodeString(Random, Int32, Int32)
Returns random string of length between min and max codepoints, all codepoints within the same unicode block.
Declaration
public static string RandomRealisticUnicodeString(Random r, int minLength, int maxLength)
Parameters
Type |
Name |
Description |
Random |
r |
|
System.Int32 |
minLength |
|
System.Int32 |
maxLength |
|
Returns
Type |
Description |
System.String |
|