示例#1
0
        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();
        }
示例#2
0
        static void Main(string[] args)
        {
            Palindrome reverseInt = new Palindrome();

            Console.WriteLine(reverseInt.IsPalindrome(121));
        }