public static void Main() { DelegateExercises delegateExercises = new DelegateExercises(); delegateExercises.Method3(); Console.ReadLine(); }
static void Main(string[] args) { DelegateExercises delegateExercises = new DelegateExercises(); delegateExercises.Method3(); Console.ReadLine(); }
public static void Main() {// Student Name Jaspreet Singh Dhaliwal Student ID C0711988 //CSD3354 Section 2 //Assignment 2 // March 6,2019 // TO DO: Call Method2 from the DelegateExercises Class DelegateExercises delegateExercises = new DelegateExercises(); delegateExercises.Method3(); Console.ReadLine(); }
public static void Main() { DelegateExercises delegateExercises = new DelegateExercises(); try { delegateExercises.Method3(); Console.ReadLine(); } catch (System.Exception ex) { System.Console.WriteLine("Exception occured"); Console.ReadLine(); } }
public static void Main() { DelegateExercises delegateExercises = new DelegateExercises(); delegateExercises.Method3(); }