1
Vote

IndexOutOfRangeException: String class, IsPalindrome method

description

when the string value is empty or only white spaces or only symbols, IsPalindrome method throws IndexOutOfRangeException

comments