Error validation [Answered] - C#