Better way to check a list of characters? - C#