// Write a C# function that determines whether a given string is a palindrome or not.
// A palindrome is a word, phrase, or sequence of characters that reads the same backward as forward, ignoring spaces, punctuation, and capitalization.
using System;
class Program
{
static void Main()
var input = "A man, a plan, a canal, Panama";
var isPalindrome = IsPalindrome(input);
Console.WriteLine($"Is the input a palindrome? {isPalindrome}");
}
static bool IsPalindrome(string input)
// Your code goes here
// Return true if the input is a palindrome, false otherwise