Run-time exception (line 25): Index was outside the bounds of the array.
Stack Trace:
[System.IndexOutOfRangeException: Index was outside the bounds of the array.]
at System.String.get_Chars(Int32 index)
at StingPalindrome.CheckStringPalindrome(String s1) :line 25
at Program.Main() :line 8