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 expression yes
type Type to cast to object yes

Code

((object)expression)