Snippet: HashSet<T> variable (with initializer)

property value
IDE Visual Studio
Language C#
Title HashSet<T> variable (with initializer)
Shortcut vcx
Description HashSet<T> variable declaration (with initializer)
Snippet Types Expansion
Namespaces System.Collections.Generic

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_collectionIdentifier Identifier name items yes
_genericType Generic type T yes
_value null yes

Code

var items = new HashSet<T>() { null };