Error code E0606
An incompatible cast was attempted.
Erroneous code example:
ⓘ
When casting, keep in mind that only primitive types can be cast into each other. Example:
For more information about casts, take a look at the Type cast section in The Reference Book.