Click here to Skip to main content
15,897,187 members
Articles / Programming Languages / C#

To check string is palindrome or not in .net (c#)

4 Feb 2011CPOL 1.6K   8
we can also use this code to check string is palindrome or not static bool checkPalindrome(string str) { //Representa Mutable string of characters StringBuilder sb = new StringBuilder(); foreach (char c in str) { if...
Only logged in members can view this content

Please go to the C# Table of Contents to view the list of available articles in this section.