Is palindrome

Given a string, write a method that checks if it is a palindrome (is read the same backward as forward). Assume that string may consist only of lower-case letters.
Expected input and output
IsPalindrome("eye") → true IsPalindrome("home") → false
using System;

namespace CSharpExercises.Strings
{
    class IsPalindromeTask
    {
        static bool IsPalindrome(string str)
        {
            for (int i = 0; i < str.Length / 2; i++)
            {
                if (str[i] != str[str.Length - 1 - i])
                {
                    return false;
                }
            }

            return true;
        }

        static void Main(string[] args)
        {
            Console.WriteLine(IsPalindrome("madam"));                          // True
            Console.WriteLine(IsPalindrome("123454321"));                    // True
            Console.WriteLine(IsPalindrome("apple"));                             // False
            Console.WriteLine(IsPalindrome("Never Odd Or Even"));       // True
            Console.WriteLine(IsPalindrome("Curabitur vel est diam"));   // False
            Console.WriteLine(IsPalindrome("x"));                                     // True
        }
    }
}