About Me

My photo
a Dynamic and Energetic guy.....

Thursday, October 22, 2009

Reverse a String in easy manner

string myName = "chanaka";
char[] chars = myName.ToCharArray();
Array.Reverse(chars);
string newDat = new string(chars);

No comments:

My Masters