Author: Niall20 | Posted on: 8/28/2008 6:44:46 AM | Views : 488

I have a class that inherits from an Interface.
public class MyClass : IMyInterface
The class implements the properties of the interface.
In business code, a method returns a list of MyClass objects. (List<MyClass> listOfObjects)
How can I convert this to a list of Interfaces eg List<IMyInterface> listOfInterfaces?
As the class implements the properties of the interface, I would hope this is straight forward!!!

...

Go to the complete details ...