METHOD
List<T>.Add
Appends a value, growing storage when required.
Formal Syntax & Structure
csharp syntaxcsharp
items.Add(value)Working Example
Example Snippetcsharp
var items = new System.Collections.Generic.List<int>(); items.Add(4);Appends a value, growing storage when required.
items.Add(value)var items = new System.Collections.Generic.List<int>(); items.Add(4);