Property Count Count Gets the number of entries currently in the collection. Declaration public int Count { get; } Property Value Type Description int Exceptions Type Condition InvalidOperationException The collection is in the Done state.