Hi Sona,
For multi-dimensional arrays, array elements are stored such that the
indices of the rightmost dimension are increased first, then the next
left dimension, and so on to the left.
check this out:
http://www.superdotnet.com/csharp_onlinespec/2512.aspx
Cheers
Benny
Sona wrote:
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?