That's a cast, which Mark didn't want, and you'll get null if it's not in the inheritance tree of course as well.

Might be good enough though :-)

Tom

On 30/10/2013 17:06, Javier Guerrero García wrote:
Wild guess here (agree that some code might help), but... have a look at
the " as " keyword :)


On Wed, Oct 30, 2013 at 4:42 PM, mark goldin <[email protected]> wrote:

Is it possible to make an object of a some type exposing itself as of
another type without casting?
Extending Proxy is what I need to look into?

Thanks


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

Reply via email to