static void Main(string[] args) { try { SomeClassLib1.Class1 c = new SomeClassLib1.Class1(); c.DoSomething(); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } }
public void TestMethod1() { var o = new SomeClassLib1.Class1(); o.DoSomething(); }