how can i check if an inputted number is a palindrome or not? - C#