4 public unsafe class LibTestAPI{
11 LibTestStruct* the_struct;
14 IntPtr MyPtr = new IntPtr(0); // Usually created elsewhere
15 the_struct = (LibTestStruct *) 0; // error CS1002
20 static void Main(string[] args){
21 LibTestAPI myapi = new LibTestAPI();