static string ReverseString(string str)
{
if (str.Length > 0)
{
return str[str.Length - 1] + ReverseString(str.Substring(0, str.Length - 1));
}
else
return str;
}
static void Main(string[] args)
{
Console.WriteLine("write something:");
string something = Console.ReadLine();
Console.WriteLine(ReverseString(something));
}