asp.net utilities for reference
Sunday, 4 March 2012
Reverse string in asp.net C#
string a = "Vinay";
char[] strArray = a.ToCharArray();
Array.Reverse(strArray);
string strReversed = new string(strArray);
Response.Write(strReversed);
Output:
yaniV
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment