got actually a problem, I need to store a list of a class that need a generic type, but when inherited and generic type defined on a subclass, I can't add this subclass to the list anymore. Let me show you :
public class Foo<T>
{
}
public class Foo2 : Foo<int>
{
}
List<Foo<object>> objects = new List<Foo<object>>();
objects.Add(new Foo2()); // <----- This isn't working
What is the way to do this ? Thanks for your time