It's recommended to use ToUpperInvariant for this sort of thing, see http://stackoverflow.com/questions/2801508/what-is-wrong-with-tolowerinvariant