W
wsmckenz
I want a collection of things, Columns in this case, which are indexed
by name (which would imply a Dictionary<string, Column>) but are also
in a guaranteed order (which would imply List<Column>). I want to be
able to write:
m_columns;
// or
m_columns["FRED"];
and have both work.
i also want
foreach(Column col in m_columns)
{
}
To enumerate in the order that the columns were appended to the list.
Is there a generic that serves the purpose or do I have to write my
own?
by name (which would imply a Dictionary<string, Column>) but are also
in a guaranteed order (which would imply List<Column>). I want to be
able to write:
m_columns;
// or
m_columns["FRED"];
and have both work.
i also want
foreach(Column col in m_columns)
{
}
To enumerate in the order that the columns were appended to the list.
Is there a generic that serves the purpose or do I have to write my
own?