Say I have a simple LINQ extenstion:
var filtered = data.Where(i => i.Count > 0);
I know that this will not be evaluated unless I start using the ie filter
foreach(DataItem i in filtered) ...
However, I need to create a cloned version of data and release the data as soon as possible. data can be changed in another thread, so I want to get an immediate snapshot.
How can I force filtered ?
source share