Top "Jagged-arrays" questions

A jagged array is an array whose elements are arrays.

How to use LINQ on a multidimensional array to 'unwind' the array?

Consider the following array: int[,] numbers = new int[3, 2] { { 2, 1 }, { 3, 4 }, { 6, 5 } }; I would like to use LINQ to construct an IEnumerable with numbers 2, 1, 3, 4, 6, 5. …

c# .net linq multidimensional-array jagged-arrays
How to initialize a jagged array in JavaScript?

Is it possible to have a jagged array in JavaScript? Here is the format of the data I want to …

javascript jagged-arrays
Converting jagged array to 2D array C#

I'm trying to convert this function from Jagged Array to 2D array, and I'm not able to convert everything Original …

c# arrays jagged-arrays
C#/C++: How to visualize muli-dimensional arrays

For example: A two-dimensional array can be visualized like a brick-wall with square bricks, where every brick represents a coordinate …

c# c++ arrays jagged-arrays
Convert multidimensional array to jagged array in C#

I have a C# WCF webservice which is called by two VB 6 project. The target VB project is sending to …

c# multidimensional-array jagged-arrays
How do I create a jagged 2d array in Java?

Our homework assignment asks us to use a jagged array to store the values of a two dimensional boolean matrix. …

java arrays matrix multidimensional-array jagged-arrays
How to iterate a jagged array?

This has been driving me crazy for a few days. Why doesn't the following work? Dim arr(3, 3) As Integer For …

vb.net arrays jagged-arrays
Multidimensional arrays in Java and C#

In C# there are 2 ways to create mutlidimensional arrays. int[,] array1 = new int[32,32]; int[][] array2 = new int[32][]; for(int i=0;…

c# java arrays multidimensional-array jagged-arrays