Snippet: ImmutableArray<T> variable

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

Placeholders

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

Code

var items = ImmutableArray.Create<T>(arguments);