C#, test if string contains only letters or digits