示例#1
0
    public bool PalindromicNumber(long number)
    {
        bool     palindromic   = false;
        Problem4 reverse       = new Problem4();
        long     reverseNumber = reverse.ReverseNumber(number);

        if (number == reverseNumber)
        {
            palindromic = true;
        }

        return(palindromic);
    }