/* The managed call is still owner of the sent string */ public static void in_string() { { test.ITesting obj = new test.Testing(); String sent = "in_string"; String returned = obj.InString(sent); Test.AssertEquals(sent, returned); } System.GC.Collect(); }