Supports a simple iteration over a non-generic collection.
Casts this object to the specified type. Throws error on failure.
The target type of the cast.
The type of the object to cast.
The type to cast to.
Casts this object to the specified type. Returns null on failure.
Supports a simple iteration over a non-generic collection.