Snippet: Collection<T> variable

property value
IDE Visual Studio
Language C#
Title Collection<T> variable
Shortcut vn
Description Collection<T> variable declaration
Snippet Types Expansion
Namespaces System.Collections.ObjectModel

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_identifier Identifier name items yes
typeParameter T yes

Code

var items = new Collection<T>();