public void EditTodo() { try { TodoPage pageobj2 = new TodoPage(); pageobj2.EditTodo(); } catch (Exception e) { throw e; } }
public void AddTodo() { try { TodoPage pageobj1 = new TodoPage(); pageobj1.AddTodo(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } }