What is a jagged array (in c#)? Any examples and when should one use it….
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A jagged array is an array of arrays.
That’s a collection of five different string arrays, each could be a different length (they could also be the same length, but the point is there is no guarantee that they are).
This is different from a 2D array where it is rectangular, meaning each row has the same number of columns.