How can we access the last character in the following string?

town[0];town[town.Length - 1];

Woop woop! Remember that string-type values are zero-indexed: the first character has an index of 0.

Oops-a-daisy! Remember that string-type values are zero-indexed: the first character has an index of 0.