Snippet: explicit cast operator

property value
IDE VS Code
Language C#
Title explicit cast operator
Shortcut t
Description explicit cast operator

Placeholders

Identifier Tooltip Default Value
expression Expression to cast expression
type Type to cast to object

Code

((object)expression)