string str = "India";
for (int i = 0; i < str.Length; i++)
{
Console.WriteLine(str.Substring(i, str.Length - i) + " " + str.Substring(0, i));
}
Console.WriteLine(str);
Console.ReadLine();This code snippet is for Writing down some lines of code that will generate string in reverse order.
