static void Main(string[] args) { bool a1 = Palindrome.isPalindrome("a nut for a jar of tuna"); bool a2 = Palindrome.isPalindrome("apple"); bool a3 = Palindrome.isPalindrome(" I "); Console.WriteLine(a1); Console.WriteLine(a2); Console.WriteLine(a3); Console.WriteLine("Press enter to quit"); Console.Read(); }
public static void Main01(string[] args) { Console.WriteLine(Palindrome.IsPalindrome("Deleveled")); Console.ReadKey(); }