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.

Development made simple

Your success is our success. If you have any questions, let us know.

Copyright 2017 - 2018 Reso Coder © All Rights Reserved