Driver code
static public void Main ( ) { if ( isPalindrome ( 1001 ) ) Console . WriteLine ( " Yes , ▁ it ▁ " + " is ▁ Palindrome " ) ; else Console . WriteLine ( " No , ▁ not ▁ " + " Palindrome " ) ; } }