c# - List<>.Exists() 在 WP7 中不存在?

标签 c# .net linq windows-phone-7

除非我在这里遗漏了什么 Exists() 在 WP7 中不存在?如果这是真的,有人知道类似的东西吗?

最佳答案

通过查看 MSDN它似乎不存在。你可以模拟它:

 myList.Any(p => p == something);

关于c# - List<>.Exists() 在 WP7 中不存在?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9726610/

相关文章:

c# - 通过网络浏览器从 silverlight 到 winforms 的通信

c# - 在流上生成 XOR 校验和的简单方法?

c# - 创建 protected 链接

c# - 系统参数异常 : Complex DataBinding accepts as a data source either an IList or an IListSource

c# - 有没有办法在 ASP 中为 Cellspacing 使用非 Int32 值?

c# - 如何将项目列表从 View 传递到 Controller (ASP.NET MVC 4)

.net - 如何在 API 管理中配置 Azure AAD 并从 .NET 中的 Web/控制台应用程序调用 API 管理端点

c# - 最小起订量返回不起作用

performance - 为什么使用 Linq To Objects 时 IQueryable 比 IEnumerable 快两倍

c# - 添加到 CHAR 列末尾的一系列空格