I want to query a List<> and find out how MANY items match the selection criteria. using LINQ and c# /.net 3.5. How would I modify the query to return an int count.
Just surround your query like this: (from ... select n).Count().
(from ... select n).Count()