gpt4 book ai didi

c# - IList 没有 "where"

转载 作者:太空狗 更新时间:2023-10-29 17:27:55 25 4
gpt4 key购买 nike

在我工作的一个特定项目中,我有一个返回 IList 的方法。但此接口(interface)不包含 where 或 FindAll 过滤器。但是,当我打开一个新项目时,IList 包含所有内容。有什么区别?

最佳答案

您是否导入了 System.Linq?

关于c# - IList<T> 没有 "where",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3298496/

25 4 0