Snippet: - new variable (with initializer)

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

Placeholders

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

Code

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