Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ICollection<T>.Count Property
Definition
- Namespace:
- System.Collections.Generic
- Assemblies:
- mscorlib.dll, System.Runtime.dll
- Assemblies:
- netstandard.dll, System.Runtime.dll
- Assembly:
- System.Runtime.dll
- Assembly:
- mscorlib.dll
- Assembly:
- netstandard.dll
- Source:
- ICollection.cs
- Source:
- ICollection.cs
- Source:
- Tuple.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of elements contained in the ICollection<T>.
public:
property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer
Property Value
The number of elements contained in the ICollection<T>.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
