Snippet: local variable declaration

property value
IDE Visual Studio
Language C#
Title local variable declaration
Shortcut v
Description local variable declaration
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_identifier Identifier name x yes
_value Value to assign expression yes

Code

var x = expression;