C# Program to Reverse a String without using Reverse() Method P

 


class Program
{
public static void Main(string[] args)
{
string reverseName = "chandan";
char[] charArray = reverseName.ToCharArray();
String data = string.Empty;

for (int i = charArray.Length-1; i > -1; i--)
{
data += charArray[i];
}
System.Console.WriteLine(data);

}
}