Snippet: explicit cast operator

property value
IDE Visual Studio
Language C#
Title explicit cast operator
Shortcut t
Description explicit cast operator
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
expression Expression to cast x yes
type Type to cast to object yes

Code

((object)x)