Ok, the question is really general. I have a generic interface:
public interface IGizmo<T>
and a class implementing the interface
public class A:IGizmo<A>
How can I implement the interface
IGizmo<List<A>>
on objects of the form:
List<A> L
Or if the above is not possible, is there a "natural way" to implement an interface to a list object class from an interface defined on the class?
> where T : IGizmo {} `. Whether that's meaningful in your scenario is another matter, though, and this works for `List` specifically because you can inherit from it (which is not the case for all collection types).