Get item count of a list<> using Linq

前端 未结 3 1213
清歌不尽
清歌不尽 2020-12-17 10:18

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.

3条回答
提交回复
热议问题