Palindromes are strings that if read in both directions will be the same. Eg:- Malayalam, Civic In this C# coding…