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.
在 C# 中,如何查找特定集合中的对象数?就像集合中的所有对象一样。我使用 MongoCursor 吗?
int itemCount = yourCollection.Count;