1
代碼:如何將項目添加到ICollection中的特定索引中?
TestItem TI = new TestItem();
ITestItem IC = TI;
controls.TestItems.Add(IC); //This adds the item into the last column, but I need to add this in a particular index
TestItem is a Class
ITestItem is an Interface
controls is a local variable
TestItems is a ICollection<ITestItem>
如何將項目添加到ICollection的一個特定的指數?