using System;
using System.Linq;
using System.Text;
/*
Requirement:
Create an extension method to the string class called IsPalindrome that returns a Boolean.
Test cases:
“Hannah” == true
“David” == false
“Eric” == false
“Taco cat” == true
"Race car" == true
*/
public class Program
{
public static void Main()
if ("Hannah".IsPalindrome()) {
Console.WriteLine("Test passed");
}
else {
Console.WriteLine("Test failed");