/// <summary> /// Random welcome symbol. /// </summary> /// <returns>Returns a welcome text/emoji.</returns> public static string Welcome() { var random = new Random(); string[] faces = { "^.^", ":D", ";D", "^_^", "\\ (•◡•) /", "☺", "✌", "😉", "😊", "😆", "🎈", "💡", "🎬", "😎", "🎞", "🎨", "🎥", "📽", "📷", "📸", "📹", "🌏","🌍","🌎", "🗺", "🌠" }; var maxValue = Other.IsWin8OrHigher() ? faces.Length : 6; //Exclusive bound. return(faces[random.Next(maxValue)]); }
/// <summary> /// Random welcome text. /// </summary> /// <returns>Returns a welcome text/emoji.</returns> public static string Welcome() { Random random = new Random(); string[] faces = { "^.^", ":D", ";D", "^_^", "\\ (•◡•) /", "😉", "😊", "😆", "☺", "✌", "🎈", "💡", "🎬", "🌉", "🕐🕑🕒🕓🕔🕕\n🕖🕗🕘🕙🕚🕛", "☁", "🌁", "⛅", "☀", "🌠" }; int maxValue = Other.IsWin8OrHigher() ? faces.Length : 7; return(faces[random.Next(maxValue)]); }