+ 2
I'm feeling difficulty in understand of c# arrays concept
help me out
6 Respostas
+ 3
https://www.sololearn.com/Discuss/341028/help-me-in-understanding-arrays-in-c
Take a look at the explanation of arrays, and if you'd like a bonus explanation of multidimentional arrays.
+ 2
Arrays in c# work the exact same way.
The only difference is syntax for adding dimentions.
int[, ,] array = new int[2 , 7]
Is a 2d array, first array of size 2, others of size 7.
So, in c# the comma "," is used to indicate dimension of the array.
+ 1
I understood arrays in both C and Cpp but C# arrays are little confusing
+ 1
can you give an example that you dont understand?
+ 1
yaa here int[, , ,] means we are declaring 3 Dimensional array but size we are giving only 2 numbers int[2,7] how does it works
0
you mean you don't understand what is arrays ?