Snippet: array variable

property value
IDE Visual Studio
Language C#
Title array variable
Shortcut va
Description array variable declaration
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_arrayLength Array length 0 yes
_collectionIdentifier Identifier name items yes
_type Element type name T yes

Code

var items = new T[0];