To know the size of a vector, I can only use nomedovetor.Length
, right?
I saw an example in a for
structure, where GetLength(0)
or GetLength(1)
was used to capture the dimensions of a array of rows and columns.
Could you explain this 0 and 1 in parentheses? I did not quite understand it.
Thank you in advance!