public static void Main()
string testValue = "racecart";
bool result = IsPalindrome(testValue);
Console.WriteLine("Word is a palindrome: {0}", result);
static bool IsPalindrome(string input) {
char[] forward = input.ToCharArray();
for (var f = 0; f < forward.Length; f++) {
var ltr = forward[(forward.Length-1) - f];