using System;
namespace ReverseString
{
public class Program
public static void Main(string[]args)
string Str,Revstr="";
int Length;
Console.WriteLine("Enter a String");
Str=Console.ReadLine();
Length=Str.Length-1;
while(Length>=0)
Revstr=Revstr+Str[Length];
Length--;
}
Console.WriteLine("Reverse String is {0}",Revstr);
Console.ReadLine();