Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 dictionary collections
Message
From
28/09/2016 11:23:44
John Baird
Coatesville, Pennsylvania, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 5.0
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01641447
Message ID:
01641451
Views:
50
>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);
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform