can i control how various classes are cast to one ...
# getting-started
h
can i control how various classes are cast to one of mine with
as
and
is
? As in, I have made a custom class, and is somewhere else a cast some class to it with
as
, it would follow code i wrote somewhere else to do so. Does that make sense?
a
No they are not overrideable operators. Unlike in say, C#