public void SweepListDict(NegOneList <Dictionary <Part, double> > list) { for (int i = -1; i < list.Count - 1; i++) { SweepDict(list[i]); } }
public void AddListDict(NegOneList <Dictionary <Part, double> > list, int index, Part p) { while (index + 1 >= list.Count) { list.Add(new Dictionary <Part, double>()); } AddDict(list[index], p); }