2Dimensional array in C# – first is Y, then is X?

usually x is horizontal axis and y is vertical axis

so something like that:

string[,] array2D = {{“lolx1″,”loly1”}…

however according to google images first value is vertical and second value is horizontal

so its more like

string[,] array2D = {{“Yposition1″,”Xposition1”}…

why is first position vertical? or I am wrong? because usually programs start from X, following with Y, not vice versa

submitted by /u/codeBetterThanFace
[link] [comments]

Leave a Reply