static void Main(string[] args) { testArrayLength(); testLink(); Cls c = new Cls(); testCls(c); }
static void testCls(Cls c) { Cls f = new Cls(1, 0); try { int res = f.division(); } catch (DivideByZeroException e) { Console.WriteLine(e.Message); } }