Is GC.AddMemoryPressure appropriate when using Marshal.AllocHGlobal?

Does
IntPtr ip = Marshal.AllocHGlobal(size);
implicitly add memory pressure (a la GC.AddMemoryPressure)? […]

Original post by Rushabh Verma

Leave a Reply