Declaration
public static string GenerateString(
int length,
string takeCharactersFrom = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
)
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.) |