Use StringComparer.OrdinalIgnoreCase with the dictionary instead of forcing strings to be .ToUpper()