If have a set of classes that all implement an interface.
interface IMyinterface<T>
{
int foo(T Bar);
}
I want to shove them all in a list and enumerate through them.
List<IMyinterface> list
foreach(IMyinterface in list)
// etc...
but the compiler wants to know what T is. Can I do this? How can I overcome this issue?