I want to find the last character of a string and then put in an if stating that if the last character is equal to \"A\", \"B\" or \"C\" then to do a certain action
I assume you don't actually want the last character position (which would be yourString.Length - 1), but the last character itself. You can find that by indexing the string with the last character position: