Snippet: array variable

property value
IDE VS Code
Language C#
Title array variable
Shortcut va
Description array variable declaration

Placeholders

Identifier Tooltip Default Value
_arrayLength Array length 0
_collectionIdentifier Identifier name items
_type Element type name T

Code

var items = new T[0];