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();
        }
示例#3
0
        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();
        }
示例#4
0
        public static void Main()
        {
            DelegateExercises delegateExercises = new DelegateExercises();

            try
            {
                delegateExercises.Method3();
                Console.ReadLine();
            }
            catch (System.Exception ex)
            {
                System.Console.WriteLine("Exception occured");
                Console.ReadLine();
            }
        }
示例#5
0
        public static void Main()
        {
            DelegateExercises delegateExercises = new DelegateExercises();

            delegateExercises.Method3();
        }