using System.Collections.Generic;
public static void Main()
List<DropItem> _items = Enumerable.Range(0, count).Select(x => new DropItem(){Name = "Cam " + x, Identifier = "Drop Zone" + ((x < count / 2) ? 1 : 2), cam_idx = x}).ToList();
foreach (DropItem i in _items)
Console.WriteLine("Name {0}, Identifier {1}, cam_idx{2}", i.Name, i.Identifier, i.cam_idx);
public string Name { get; set; }
public string Identifier { get; set; }
public int cam_idx { get; set; }