public static string rotate(string s,int n)
st=s.Substring(s.Length-1,1);
s1=st+s.Substring(0,s.Length-1);
public static void Main()
Console.WriteLine("enter string");
string s=Console.ReadLine();
Console.WriteLine("enter number of rotation");
int n=Convert.ToInt32(Console.ReadLine());