C# exposing class to COM - Generic Collections
We have a small framework written in C# .Net 2.0 that we want to expose to COM. Problem is, we have some generic classes that would be exposed as the following: interface IOurClass { ReadonlyCollection<IOurListObject> OurCollection { get; } } interface IOurListObject { //Some properties that don't matter } What is the best (or recommended way) to expose generic collections to COM? We do not have to support generics, we just need to somehow expose a collection of IOurListObject. We also would like to avoid having to write a new class for every collection we use, but it may not be possible. It