public static void Main()
Console.Write("Type any text and press enter to revert it:\n");
Console.Write("----------------------------------");
Console.Write("Input String : ");
str = Console.ReadLine();
Console.WriteLine("The string in Reverse Order Is : {0}", str1, Console.ForegroundColor);
Console.Write("Continue? [y/n] : ");
ans = Console.ReadLine();
if ((ans.Equals("Y")) || (ans.Equals("y")))
} while ((ans.ToLower() != "n"));