Safe downcasting
The as
operator returns null when a dynamic cast fails. You can use it combined with IsDefined
to perform safe downcasts.
Last updated
The as
operator returns null when a dynamic cast fails. You can use it combined with IsDefined
to perform safe downcasts.
Last updated