public static void Main()
Console.WriteLine("What would you like to calculate the factorial of?");
String x=Console.ReadLine();
if(ulong.TryParse(x, out y))
for (ulong i =1;i<=y;i++)
Console.WriteLine(y+" != "+fact);
Console.WriteLine("Do you want to restart? Please Enter; Yes or No.");
string answer = Console.ReadLine();
if (answer=="Yes" || answer =="yes")