public static void Main_old()
 {
     try
     {
         using (Res1 res1 = new Res1())
         {
             res1.Func();
             using (Res2 res2 = new Res2())
             {
                 res2.Func();
                 res1.Throw();
             }
         }
     }
     catch
     {
         Log.Comment("System.Exception caught");
     }
 }
 public static void Main_old()
 {
     using (Res1 res1 = new Res1())
     {
         res1.Func();
         using (Res2 res2 = new Res2())
         {
             res2.Func();
         }
     }
 }