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