public static void Main(string[] args) { Console.WriteLine("What is your name?"); string name = Console.ReadLine(); Character player = new Character(); player.name = name; player.Rouge(); Console.WriteLine("Hello {0} the {1}", player.name, player.clas); Quit(); }
public static void Quit() { Console.WriteLine("press any key to exit"); Console.ReadLine(); }