在集合上使用Linq,以下代码行之间有什么区别?
if(!coll.Any(i => i.Value))
和
if(!coll.Exists(i => i.Value))
更新1
当我反汇编.Exists它看起来没有代码.
.Exists
更新2
任何人都知道为什么这个没有代码?
c# linq collections
c# ×1
collections ×1
linq ×1