Snippet: ReadOnlyObservableCollection<T> variable

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

Placeholders

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

Code

var items = new ReadOnlyObservableCollection<T>(args);