Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not used to some DOT NET ways
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Database:
Visual FoxPro
Divers
Thread ID:
01442515
Message ID:
01442599
Vues:
62
>Gregory,
>
>>You can redimension an array in C# - the only drawback is that it returns another reference
>
>That's right...but you're not redimensioning the original array, you're creating a new one, whereas the other collections I mentioned allow you to add and remove elements to the existing collection.
>
>Best Regards,


Correct, the other collections have an array that they resize if needed. Their indexer must check the number of elements used. Removing an element is not likely to shrink the array
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform