Exemple #1
0
        static void Main(string[] args)
        {
            testArrayLength();
            testLink();
            Cls c = new Cls();

            testCls(c);
        }
Exemple #2
0
        static void testCls(Cls c)
        {
            Cls f = new Cls(1, 0);

            try
            {
                int res = f.division();
            }
            catch (DivideByZeroException e)
            {
                Console.WriteLine(e.Message);
            }
        }