Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

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

Statistics


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

| Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 8 Mar 2011
Article Copyright 2011 by InTRUEdeR
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid