Posts

Showing posts from June, 2021

Reverse of a string

 string str="this is it"; for(int i=str.Length-1;i>-1;i--) {          Console.WriteLine(str[i]); }