Declaration
public static string GenerateString(
int length,
string takeCharactersFrom = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
Random rnd = null
)Summary
Generates a random string of the specified length, taking characters from the specified arsenal of characters.
Parameters
| int | length |
Length of the string to generate. |
| string | takeCharactersFrom |
Arsenal to take random characters from. (Default is upper- and lower-case letters and digits.) |
| Random | rnd |
If not null, uses the specified random number generator. |