Casting
Casting is a method of forcing the compile-time type of any expression.
Note, however, that casting can run into some issues at runtime. For example, the following
would run into issues at runtime, although it would be fine at compile time.
Last updated