About 1,030,000 results
Open links in new tab
  1. c# - What can be a situation where a jagged array be preferred over

    Nov 10, 2013 · Performance is usually better for jagged arrays. Pascal's triangle is a good example for using jagged arrays. If you care about speed then you always prefer jagged …

  2. c# - What is the advantage of rectangular arrays over jagged arrays

    .NET itself supports both rectangular and jagged arrays. It was up to each language whether it exposed easy syntax for one or both of these concepts 1 . Visual Basic (classic) supported …

  3. What is the difference between these two ways of declaring an array

    myArray is a jagged array, or an array of arrays. Each element of myArray is itself an int[]. myOtherArray is a rectangular (or multidimensional) array - a single object containing all the …

  4. Using Rectangular and Jagged Arrays in C# « XoaX.net Blog

    One of the unique and problematic features of C# is its usage of arrays. There are two different and distinct styles of syntax: comma delimited indices for rectangular arrays and repeated …

  5. Multi-Dimensional vs. Jagged Arrays in C#: Choosing the Right Array

    Compare and contrast multi-dimensional and jagged arrays in C#. This tutorial clarifies their structural differences, demonstrates how they store data, and helps you choose the most …

  6. MultiDimensional Arrays And Jagged Arrays In C# - Software …

    Apr 1, 2025 · This Tutorial Explains All About Multidimensional Arrays & Jagged Arrays in C# With Examples. Multidimensional arrays are also known as Rectangular Arrays.

  7. What all are the differences between Rectangular and Jagged Array

    May 9, 2017 · Jagged array is basically an array of arrays. This means that there are several arrays living in memory. Each as it's own lifetime. Because Unity script (through .Net) is a …

  8. Difference between Multi-Dimensional array and a Jagged Array

    Mar 17, 2025 · The jagged arrayed array is an array of arrays; each element of the main array is an array of different lengths. In this program, a 2-dimensional jagged array is declared with 3 …

  9. Performance Comparison: Rectangular Array vs. Jagged Array

    Oct 6, 2005 · The conclusion is, jagged array performs superior than rectangular array in .Net framework 1.1 (I will perform some analysis in 2.0 later), so we should use jagged array …

  10. What are Jagged Arrays in .NET? - Stack Overflow

    Jan 16, 2017 · A jagged array is an array of arrays (specifically a one dimensional array of one dimensional arrays). The term "jagged" comes from that the inner arrays can be of diffent …

Refresh