In the **Leetcode Palindrome Number problem solution in C# programming** Given an integer x, return true if x is a palindrome, and false otherwise.

## Leetcode Palindrome Number problem solution in C# programming

```
public class Solution {
public bool IsPalindrome(int x) {
if(x < 0)
return false;
int reverse = 0, reminder=0;
int temp = x;
while(temp != 0)
{
reminder = temp %10;
temp = temp/10;
reverse = reverse*10 + reminder;
}
return x == reverse;
}
}
```

**Also read,**

- Leetcode Palindrome Number problem solution in C++
- Leetcode Palindrome Number problem solution in Java
- Leetcode Palindrome Number problem solution in Python
- Leetcode Palindrome Number problem solution in C