as the picture shown, the red block should show "1" the same code works fine in visual studio 2019 (could check the any element by index)