property | value |
---|---|
IDE | Visual Studio |
Language | C# |
Title | List<T> variable (with initializer) |
Shortcut | vnx |
Description | List<T> variable declaration (with initializer) |
Snippet Types | Expansion |
Namespaces | System.Collections.Generic |
Placeholders
Identifier | Tooltip | Default Value | Editable | Function | Type Name |
---|---|---|---|---|---|
_identifier | Identifier name | items | yes | ||
_value | null | yes | |||
typeParameter | T | yes |
Code
var items = new List<T>() { null };