Пример #1
0
 /* The managed call must not keep ownership of the C string after the
  * call */
 public static void in_own_string()
 {
     {
         test.Testing obj      = new test.TestingConcrete();
         String       sent     = "in_own_string";
         String       returned = obj.InOwnString(sent);
         Test.AssertEquals(sent, returned);
     }
     System.GC.Collect();
 }