Snippet: new variable

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

Placeholders

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

Code

var x = new object(arguments);