Snippet: array variable (with initializer)

property value
IDE VS Code
Language C#
Title array variable (with initializer)
Shortcut vax
Description array variable declaration (with initializer)

Placeholders

Identifier Tooltip Default Value
_collectionIdentifier Identifier name items
_type Element type name T
_value null

Code

var items = new T[] { null };