I have an array of array wich all have the same length.
Which syntax is to be preferred :
multidimensional : string[,] names = new string[5,4];
or
jagged : string[][]names = new string[5][4];
Or is it, in this case just a matter of style?
I searched this site and I read among others http://msdn.microsoft.com/en-us/library/aa288453(VS.71).aspx
ddanbe
2,724
Professional Procrastinator
Featured Poster
Recommended Answers
Jump to PostI attached the images, I hope it clarifies...
All 3 Replies
Ramy Mahrous
401
Postaholic
Featured Poster
Ramy Mahrous
401
Postaholic
Featured Poster
ddanbe
commented:
Very intructive! This man knows what he his doing!
+4
ddanbe
2,724
Professional Procrastinator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.