Snippet: new variable (with initializer)

property value
IDE Visual Studio
Language C#
Title new variable (with initializer)
Shortcut vnx
Description variable declaration with new object creation (with initializer)
Snippet Types Expansion


Identifier Tooltip Default Value Editable Function Type Name
_arguments List of arguments arguments yes
_value x yes
identifier Identifier name x yes
type Type name object yes


var x = new object(arguments) { x };