Nice to have C# 5.0 LinQ feature

currently LinQ only supports projections, instead if we could perform an action for each row inside the linq query itself it would be great.

 I had in mind something like the below query in mind. Hopefully C# team would consider this :-)

Collection<DataEndpoint> myObjects = new Collection<DataEndpoint>();

var dataExtensions = from c in dataContext.ETDataExtensions

                     join d in dataContext.RequestTypeDatas on c.RequestTypeID equals d.RequestTypeID

                     where d.RequestType == requestType.ToString()

                     selectOrDo myObjects.Add(c);

Till my next post, adeus.

Regards,

AlD