c# - What is the difference between Rank and specifying [,] in an array? -
in .net, there rank property arrays.
what difference between , specifiying like:
int[,] intarray = new int[3,3]; ?
which of rank 2?
thanks
the rank property read-only. part of type of array , can set when array created. expression int[,]
refers type of rank 2 integer arrays, , can create rank 2 array either new int[n,m]
syntax or array.createinstance
static method.
Comments
Post a Comment