/// <summary> /// Returns a random font family from the font whitelist /// </summary> private string RandomFontFamily() { string[] array = null; if (array == null) { array = FontWhitelist.Split(new char[] { ';' }); } return(array[_rand.Next(0, array.Length)]); }
/// <summary> /// Returns a random font family from the font whitelist /// /// </summary> private string RandomFontFamily() { string[] strArray = FontWhitelist.Split(';'); return(strArray[CryptoRandomNumberUtil.GetInt32(0, strArray.Length - 1)]); }