是否有一个只初始化和存储不同对象实例的类的名称?
class MyInitializerOfMyObjectAndStorage
public MyInitializerOfMyObjectAndStorage(CollectionOfInfoHowToInitialize)
{
foreach (var item in CollectionOfInfoHowToInitialize)
instances.add(new MyObject(item));
............................
}
private or public MyObject _instances;