All pastes #59597 Raw Edit

Someone

public text v1 · immutable
#59597 ·published 2006-05-29 14:42 UTC
rendered paste body
using System;
using System.Runtime.InteropServices;

class X
{
        [DllImport("libc")]
        static extern void free (IntPtr ptr);

        void Test ()
        {
                free (new IntPtr (0xdeadbeaf));
        }

        static void Main ()
        {
                X x = new X ();
                x.Test ();
        }
}