Exemplo n.º 1
0
        public static string Various(eVarious type)
        {
            var rand = new Random();

            return(Emoji.Various.TryGetValue(type, out var list)
                ? list[rand.Next(list.Count)]
                : string.Empty);
        }
Exemplo n.º 2
0
 public string Various(eVarious type)
 {
     return(Emoji.Various.TryGetValue(type, out var list)
         ? list[_randomizer.Next(list.Count)]
         : string.Empty);
 }