You can use collection objects and initializers , although your version is probably a term and can be used as for large collections:
private Child[] _children = new Child[] {
new Child(),
new Child(),
new Child(),
new Child(),
new Child(),
new Child(),
new Child(),
new Child(),
new Child()
};
Odded source
share