Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-dimensional arrays
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00678465
Message ID:
00678479
Views:
19
>Yes, because everything is an object in c#.
>In fact, the following code create an array of 2 arrays
object[,] multitype = {{4, 5, 6, 1}, {"Claudio","Michel","Carlos","John"}};
Ah, got it... this is the "jagged array". I found some literature on this, but althought them mentioned about all the object stuff, all the samples I found create those arrays like this:
int[,] multitype = {{4, 5, 6, 1}, {3,4,5,4}};
this way, just integers, integers and more integers. :)

Tks a lot, Gérald!
Claudio Lassala
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform