我有一个属性列表。我想为同一页面中的多个元素添加这些 PropertiesCollections。这就像
[0] => List
([0] => ID
[1] => Name
[2] => Add
[3] => PhoneNo
[4] => City)
[1] => List
(And so on....
internal class PropertiesCollection : List<Properties>
{
}
internal class Properties
{
}
PropertiesCollection collection = new PropertiesCollection ();
我怎样才能实现
Something[0,collection[0]]
Something[0,collection[1]]
Something[1,collection[0]]
Something[1,collection[1]] ?