Why does LINQ query affect original list?

前端 未结 0 1918
时光说笑
时光说笑 2020-12-31 20:32

I am working on filtering a list using LINQ and came across a strange problem.

The code looks as follows:

filteredUsers = users.Where(x => x.Resourc         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题