none
Select ... RRS feed

  • Question

  • Hello,
    I have a collection of objects which have 10 properties one of which is a list. While iterating through the collection is it possible to do something like:

    IList<SomeType> newCollection = from item in myCollection
                                                       where some where clause goes here
                                                       select item, item.SomeProperty = 'newValue'

    Thanks,
    Friday, October 2, 2009 3:48 PM

Answers

All replies