using System; using System.Linq; using System.Collections.Generic; List foos = Enumerable.Range(1, n).Select(x => new Foo()).ToList();