Beispiel #1
0
 static void Main(string[] args)
 {
     try
     {
         Class1 myClass = new Class1();
         Console.WriteLine("Class1: " + myClass.WriteOut1());
         MyResidentClassInLib1 myClass2 = new MyResidentClassInLib1();
         Console.WriteLine("Class2: " + myClass2.WriteOut2());
     }
     catch (Exception e)
     {
         Console.WriteLine("Exception occurred: " + e.ToString());
     }
 }