public static void GetValueTest() { var obj = new GetValue(); try { obj.AcceptAge(); } catch (CustomException ex) { Console.WriteLine("Error : {0}", ex.Message); } }
static void Main(string[] args) { //Product.ProductTest(); GetValue.GetValueTest(); Console.ReadLine(); }