Possible Duplicate:
Array memory allocation – paging
Does byte[,] myArray is always in continuous memory block?
I have some code which works with images stored in such arrays, everything works fine, but I just ask for sure.
EDIT: I work with unsafe code.
Yes, it’s always there, in memory and will be memorized consecutively.
take a look : True Unsafe Code Performance
And msdn says you can use without think about it: http://msdn.microsoft.com/en-us/library/28k1s2k6%28v=vs.80%29.aspx