Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 dictionary collections
Message
De
28/09/2016 11:23:44
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 5.0
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01641447
Message ID:
01641451
Vues:
51
>Hi everybody,
>
>How can I get difference between these two Dictionaries using except operator? I'm trying this code but it doesn't compile
>
>
>prefsRetailViewModel.AvailableTrackingColumns = this.trackingLookupOrderColumns.Except(prefsRetailViewModel.AssignedTrackingColumns);
>
>All of them are defined as
>
>Dictionary<string, string>
>
>Thanks a lot in advance.
prefsRetailViewModel.AvailableTrackingColumns = this.trackingLookupOrderColumns.Keys.Except(prefsRetailViewModel.Keys);
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform