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