Snippet: ObservableCollection<T> variable

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

Placeholders

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

Code

var items = new ObservableCollection<T>();