Q:

What is Jagged Array in C#?

0

What is Jagged Array in C#?

All Answers

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

You can initialize a jagged array as

int[][] marks = new int[2][]{new int[]{12,13,52},new int[]{56,85,45,89}};

Where, marks is an array of two arrays of integers – marks[0] is an array of 3 integers and marks[1] is an array of 4 integers.

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

total answers (1)

Top 100 C# interview questions and answers 2022

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What is the purpose of using statement in C#?... >>
<< Can we execute multiple catch blocks in C#?...