Multidimensional & Jagged Arrays (Exercise) – Learn C#

This is an exercise for this YouTube video.

Happy learning and good luck!

Which array does not need to be "rectangular"?
Which declaration of a 3D array is correct?

 

Assignment: Make a 2D jagged array and a 2D multidimensional array with the exact same content using a collection initializer.

 

Click to see the answer

 

 

Assignment: Print out the contents of both of the arrays from the previous assignment.

 

Click to see the answer

 

Leave a comment


This site uses Akismet to reduce spam. Learn how your comment data is processed.


araz

3 weeks ago

im a student

araz

3 weeks ago

i want to learn jagged array

Development made simple

We're here to help you. If you have any questions, let us know.

Copyright 2017 - 2018 Reso Coder © All Rights Reserved