Click here to Skip to main content
12,443,996 members (43,056 online)
Click here to Skip to main content

Tagged as

Stats

6.3K views
3 downloads
1 bookmarked
Posted

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

, 8 Mar 2011 CPOL
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...

Revisions


  

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

License

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

Share

About the Author

intrueder
Software Developer DevelopEx
Ukraine Ukraine
No Biography provided

You may also be interested in...

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