Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logic problem
Message
 
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01606497
Message ID:
01606576
Views:
43
>>Also, what do I need to use to flip it other as the next loop does the following:
>>
>>
>>  // Add New List
>>                foreach (var item in modifierGroup.Items)
>>                {
>>                    if (!itemIds.Contains(item.ItemId))
>>                    {...
>>
>>
Maybe:
foreach(var i in modifierGroup.Items.Where(x=> !itemIds.Contains(x.ItemId)))
>            {
>                // Use i (or i.ItemId) here
>            }
Thanks again, it worked quite nicely.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform