Click here to Skip to main content
12,248,978 members (36,413 online)
Click here to Skip to main content

Tagged as

Stats

6K 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...

Views

Downloads

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.160426.1 | Last Updated 8 Mar 2011
Article Copyright 2011 by intrueder
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid