Invoice inv = new Invoice(); inv.LineItems = new List<LineItem>(); //Inside a loop inv.LineItems.Add(new LineItem() { Description = "Testing" });