PROPERTY
List<T>.Count
Returns the current number of items.
Formal Syntax & Structure
csharp syntaxcsharp
items.CountWorking Example
Example Snippetcsharp
var items = new System.Collections.Generic.List<int>(); int n = items.Count;Returns the current number of items.
items.Countvar items = new System.Collections.Generic.List<int>(); int n = items.Count;