public static void Main() { var obj = new Palindrome(); var lps = obj.LongestPalindrome("babad"); var x = 0; Console.WriteLine(IsPalindrome(x)); var xx = IsPalindromeNumber(54545); Console.ReadLine(); }
static void Main(string[] args) { Palindrome reverseInt = new Palindrome(); Console.WriteLine(reverseInt.IsPalindrome(121)); }