Snippet: ReadOnlyDictionary<T> variable

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

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_argumentList Constructor arguments arguments yes
_dictionaryIdentifier Identifier name dic yes
keyType object yes
valueType object yes

Code

var dic = new ReadOnlyDictionary<object, object>(arguments);