Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-dimensional arrays
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00678465
Message ID:
00678479
Vues:
18
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform