Snippet: ReadOnlyDictionary<TKey, TValue> variable

property value
IDE Visual Studio
Language C#
Title ReadOnlyDictionary<TKey, TValue> variable
Shortcut vn
Description ReadOnlyDictionary<TKey, TValue> 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 dic yes
keyType object yes
valueType object yes

Code

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