public static void Main(String[] args) { main_class obj = new main_class(); try{ obj.menu_driven(); }catch (Exception e) { Console.WriteLine("main_class.Main :- {0}", e); } }