using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SteamRandomGame { class Program { static class RandomLetter { static Random _random = new Random(); public static char GetLetter() { int num = _random.Next(0,26); char let = (char)('a' + num); return let; } } static void Main(string[] args) { Random _num = new Random(); int amnt = 0; Console.WriteLine("This is your Random Letter"); Console.WriteLine(RandomLetter.GetLetter()); Console.WriteLine(); Console.WriteLine("Please enter the amount of games starting with that letter and press enter."); amnt = Convert.ToInt16(Console.ReadLine()); Console.WriteLine(); int n = _num.Next(1, amnt); Console.WriteLine("Play the game that is number " + n); Console.ReadKey(); } } }