I\'ve spent a few hours on and off trying to find an answer to this, I\'m probably having trouble with wording the question correctly, which doesn\'t help. Essentially, I ha
Did you mean a list with an instance of each derived type?
Assembly.GetExecutingAssembly().GetTypes .Where(type => type.BaseType.IsGenericType && type.BaseType.GetGenericTypeDefinition() == typeof(GenericType<>)) .ToList(). .ForEach(type => list.Add(Activator.CreateInstance(type)));