Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert Item In Dictionary
Message
De
03/05/2010 15:32:28
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01462835
Message ID:
01462875
Vues:
52
>>I need to insert an item into a Dictionary at a specific position. Each item in the dictionary object has an Order value that specifies the position the item should be in in the collection.
>>
>>Anyone know how to do this?
>
>Out of curiosity, why do you care where it is?


You can add items to the dictionary in any order you want. When you need to process the items in a given order, use a Linq query to extract them in the order you need.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform