TYPE
ICollection<T>
Count, membership and mutation members; implementations may reject edits. Check IsReadOnly.
Formal Syntax & Structure
csharp syntaxcsharp
ICollection<T>Working Example
Example Snippetcsharp
using System.Collections.Generic;ICollection<int> items = new List<int>();items.Add(4);