Click here to Skip to main content
15,909,591 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Can any one help me to made a dynamic jagged array.
Which can take the number of rows and columns from the user at run time.
I will be very thanks full.






Regards: Ghulam Sadiq
Posted
Comments
Rob Philpott 13-Sep-13 16:07pm    
Please be more specific. Is it the jagged array you need help with (will a multidimension one do) or is it how you collect the information from the user as runtime?

For the rank 2, this would be System.Collections.Generic.List<System.Collections.Generic.List<YouElementType>>:
http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx[^].

—SA
 
Share this answer
 
it will also help you to understand.

jagged array

jagged array in C#
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900