Employee emp = new Employee(); try { emp.IdNumber = 9999999; } catch (ValidationException ex) { Console.WriteLine(ex.Message); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)