Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我收到错误枚举在执行时没有产生任何结果:
IEnumerable<Proxy> pxys = this._ticket.AllProxies.Where(p => p.IfBusy.Equals(false));
您会收到该错误消息的原因是两个原因之一,要么this._ticket.AllProxies不包含任何项目(例如,它是一个空集合),要么集合中的任何代理都没有false其IfBusy属性的值。
this._ticket.AllProxies
false
IfBusy