Cast

Obsolete public static object Cast(object obj, Type type) ;

Cast the object.

Parameter Name Description
obj The object to cast
type Casting type

Casted value