public static void Main()
while (restart != "x" && restart != "X")
Console.WriteLine("How many Fibonacci numbers would you like to output?");
string x = Console.ReadLine();
if (int.TryParse(x, out n))
Console.WriteLine("Error");
Console.Write("The first " + n + " Fibonacci numbers are 1, 1");
Console.Write(", " + Fn);
Console.WriteLine("Press 'x' to quit, or any other value to restart");
restart = Console.ReadLine();