static void Main(string[] args) { UserTrail u1 = new UserTrail(); u1.Show(); u1.Calculate(); }
static void Main(string[] args) { try { UserTrail u = new UserTrail(); u.show(); u.calculate(); } catch (Exceptionhandling ex) { Console.WriteLine(ex.Message); } }