Top "Jagged-arrays" questions

A jagged array is an array whose elements are arrays.

How can I declare a two dimensional string array?

string[][] Tablero = new string[3][3]; I need to have a 3x3 array arrangement to save information to. How do I declare …

c# arrays multidimensional-array jagged-arrays array-initialization
What are the differences between a multidimensional array and an array of arrays in C#?

What are the differences between multidimensional arrays double[,] and array-of-arrays double[][] in C#? If there is a difference, what is …

c# multidimensional-array jagged-arrays
How do I set up a "jagged array" in VBA?

I have a classroom full of kids, each of whom have to list their favorite toys for an assignment. Some …

arrays vba jagged-arrays
What is a jagged array?

What is a jagged array (in c#)? Any examples and when should one use it....

c# jagged-arrays
Ragged and Jagged Arrays

What is the difference between ragged and jagged arrays? As per my research both have the same definitions, i.e. …

java arrays jagged-arrays
How to convert list of arrays into a multidimensional array

I need to convert the following collection into double[,]: var ret = new List<double[]>(); All the arrays in …

c# linq multidimensional-array jagged-arrays
Array of Arrays

How do you create an array of arrays in C#? I have read about creating jagged arrays but I'm not …

c# arrays jagged-arrays
How to get a dimension (slice) from a multidimensional array

I'm trying to figure out how to get a single dimension from a multidimensional array (for the sake of argument, …

c# .net arrays multidimensional-array jagged-arrays
C++ 2 dimensional array with variable size rows

How can you create a 2D array,say, arr[][] with 5 rows and each row has a variable number of columns …

c++ arrays vector multidimensional-array jagged-arrays
Initializing jagged arrays

I want to create array 10 * 10 * 10 in C# like int[][][] (not int[,,]). I can write code: int[][][] count = new int[10][][]; for (…

c# .net jagged-arrays