Two-dimensional array in debug watch view not showing correctly

edited October 28


As the picture shows, arr should be two-dimensional array, and there should be 16 elements instead of 4, but somehow debugger watch view only grab the very first row.

Code:

var arr = new int[4,4];
arr.Dump(); // mark a breaking point in this line.

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!