Hello.
In my program I have a function which returns object. I know that this object is ISingleResult<T>
where T is unknown, but it implements an interface IFoo. How do I cast this object to ISingleResult<IFoo>
using C# 3.0?
Thank you for your help!
views:
89answers:
1
A:
Use the ReturnValue
property. It is defined in one of the interfaces ISingleResult<T>
derives from.
leppie
2010-07-20 08:26:22