# Consider if x is of type:
Dictionary<of String, int>?
# You could cast like this:
x to Dictionary<of String, int>
# But this is the same thing and easier:
x to !
# And this:
a = b to !
# Means that the local var "a" will be a non-nil type.
# If the cast fails because the expression is nil, then you will get a NonNilCastException
Also, see the UseNilAndNilableTypes How To