Q:

What are Jagged Arrays in c#?

0

What are Jagged Arrays?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

A jagged array is an array of arrays such that member arrays can be of different sizes. The elements of Jagged array are reference types and initialized to null by default. A jagged array can also be mixed with multidimensional arrays.

Syntax of the jagged Arrays:

data_type[][] Array_Name = new data_type[rows][]

In Jagged arrays, the user has to provide the number of rows only.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C# Interview Questions and Answers,You Need To Know

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Is elements of jagged array must be initialized be... >>
<< What are Value types and Reference types in C#?...