在列表与LT C#项目的发现;> [英] C# finding item in List<>
本文介绍了在列表与LT C#项目的发现;>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个包含对象的集合的列表。
I have a list which contains a collection of objects.
我如何搜索此列表中的项目,其中 object.Property == myvalue的
How can I search for an item in this list where object.Property == myValue
推荐答案
什么是错的 List.Find ??
我认为我们需要对你做了什么更多的信息,失败的原因之前,我们可以提供真正有用的答案。
I think we need more information on what you've done, and why it fails, before we can provide truly helpful answers.
这篇关于在列表与LT C#项目的发现;>的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文