StringUtils.RandomString

Creates a new random string of upper, lower case letters and digits. Very useful for generating random data for storage in test data.

public static string RandomString(int size, bool includeNumbers)

Parameters

size
The number of characters of the string to generate

includeNumbers