I'm having difficulty understanding how to explain the following code. Please help...we have to dissect it and explain the operation of the code once it is executed. In advance thank you... using System; // Rethrowing exceptions: class MyClass { public static void Main() { MyClass x = new MyClass(); try { string s = null; x.MyFn(s); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } public void MyFn(string s) { if (s == null) throw(new ArgumentNullException()); } } -ntfirebird- -- modified at 22:24 Thursday 29th September, 2005
N
ntfirebird
@ntfirebird