Exposes the enumerator, which supports a simple iteration over a collection of a specified type.
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.
Exposes the enumerator, which supports a simple iteration over a collection of a specified type.