>I need to insert an item into a Dictionary at a specific position. Each item in the dictionary object has an Order value that specifies the position the item should be in in the collection.
>
>Anyone know how to do this?
SortedDictionary?
SortedDictionary<int, string> sd = new SortedDictionary<int, string>();
sd.Add(3, "Third");
sd.Add(1,"First");
foreach (string s in sd.Values)
{
string a = s;
}