/* The managed call is *not* the owner of the string put in the out argument */ public static void out_string() { { String str = String.Empty; test.ITesting obj = new test.Testing(); obj.OutString(out str); Test.AssertEquals("out_string", str); } System.GC.Collect(); }