C#, test if string contains only letters or integers