IntPtr.Zero
using System;
using System.Runtime.InteropServices;
public class MainClass
{
[STAThread]
static void Main(string[] args)
{
IntPtr ptr = IntPtr.Zero;
ptr = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(int)));
Marshal.FreeHGlobal(ptr);
}
}
|
HTML code for linking to this page:
Related in same category :
-
|