Two-dimensional array in debug watch view not showing correctly

edited October 2019


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.