About 4,550 results
Open links in new tab
  1. C# Multidimensional Arrays - W3Schools

    To access an element of a two-dimensional array, you must specify two indexes: one for the array, and one for the element inside that array. Or better yet, with the table visualization in …

  2. c# - Multidimensional Array [] [] vs [,] - Stack Overflow

    Sep 24, 2012 · double[,] are called rectangular arrays, which are declared using commas to separate each dimension. The following piece of code declares a rectangular 3-by-3 two …

  3. C# Multidimensional Arrays - GeeksforGeeks

    Jan 15, 2025 · Step 1: Declare the Multi-Dimensional Array with fixed number of rows and columns. Step 2: Iterate the elements of array position and then assigning the values to it …

  4. C# Multidimensional Arrays: 2D, 3D & 4D - TutorialsTeacher.com

    The multidimensional array can be declared by adding commas in the square brackets. For example, [,] declares two-dimensional array, [, ,] declares three-dimensional array, [, , ,] …

  5. C# Multidimensional Array (With Examples) - Programiz

    In a multidimensional array, each element of the array is also an array. In this tutorial, we will learn about multidimensional arrays in C# using the example of two-dimensional arrays.

  6. c# - How to initialize a multidimensional array - Stack Overflow

    Jul 14, 2022 · In order to get the size of a specific dimension in a multi dimensional array, you can use the following method: int rows = arr22.GetLength(0); int cols = arr22.GetLength(1); int …

  7. C# Multidimensional Arrays

    In this tutorial, you'll learn about C# multidimensional arrays including 2D arrays and 3D arrays.

  8. How to Use Multidimensional Arrays in C# - C# Corner

    Learn how to use multidimensional arrays in C# to store and manipulate data efficiently. From declaring and accessing arrays to iterating over them and avoiding common pitfalls, this …

  9. C# Multidimensional Array and Jagged Array with examples

    May 9, 2021 · C# Multidimensional Array and jagged array with examples: this is a very detailed article about multidimensional or 2d array in c#, in this article you will learn how an array is …

  10. C# Multi-Dimensional Arrays - Online Tutorials Library

    C# Multi-Dimensional Arrays - Learn about multi-dimensional arrays in C# with examples and best practices. Understand how to declare, initialize, and manipulate multi-dimensional arrays …

Refresh