/* The managed call must not take ownership of the returned string */ public static void return_string() { { test.Testing obj = new test.TestingConcrete(); Test.AssertEquals("string", obj.ReturnString()); } System.GC.Collect(); }