Unsafe pointer

  • Thread starter Thread starter Sona
  • Start date Start date
S

Sona

Hi,

please could someone show me how to access a two dimensional array using
unsafe pointers? My C code won't work in C# :-( I used:

arr[2][1] is equivalent to:

*(*(arr+2)+1);

what am I doing wrong?
 
Back
Top