C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Tips » Visual Studio »

Method to reverse the string


Posted Date: 10 Jul 2009    Resource Type: Tips    Category: Visual Studio
Author: Chenthil KumaranMember Level: Silver    
Rating: 1 out of 5Points: 3



The simple way to reverse a string is as follows..

public String Reverse(String strParam)
{
if (strParam.Length == 1)
return strParam;
else
return Reverse(strParam.Substring(1)) + strParam.Substring(0, 1);
}


Hope this post is helpful for you.



Responses

Author: Shunmuganathan M    11 Jul 2009Member Level: Diamond   Points : 0
Good work chenthil
Keep it up


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
String Functions  .  Reverse String  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: How to retrieve other rows except 1st row from a data table.
Previous Resource: Marquee Tag in vb6
Return to Discussion Resource Index
Post New Resource
Category: Visual Studio


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use