Created
April 29, 2010 22:35
-
-
Save bradjohansen/384384 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Palindrome | |
{ | |
/// <summary> | |
/// Gets an input from user and checks to see if it is a palindrome. | |
/// </summary> | |
public static string Tester(string input) | |
{ | |
if (input == StringHelper.ReverseString(input)) | |
{ | |
Console.Write(input); Console.Write(" is a Palindrome."); | |
} | |
else | |
{ | |
Console.Write(input); Console.Write(" isn't a Palindrome."); | |
} | |
return input; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment