Click here to Skip to main content
13,006,705 members (59,294 online)
Click here to Skip to main content

Tagged as


1 bookmarked
Posted 8 Mar 2011

To check string is palindrome or not in .NET (C#)

, 8 Mar 2011
You forgot about the non-alphabetic characters in a palindrome.A string like "Madam, in Eden I'm Adam" will produce False in your code, but it is a palindrome!Provide you my version. I also put it in extension method:public static class StringExtension{ public static bool...



Compare Revision Minor Date Status Editor
3 - publicly available No 8-Mar-11 1:17 Available Deeksha Shenoy
2 No 7-Mar-11 23:10 Composing intrueder
1 No 7-Mar-11 22:57 Composing intrueder


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer DevelopEx
Ukraine Ukraine
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170628.1 | Last Updated 8 Mar 2011
Article Copyright 2011 by intrueder
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid