How to insert element in first index in dictionary?

前端 未结 9 1044
被撕碎了的回忆
被撕碎了的回忆 2020-12-17 10:09

Is there a method or technique that allows you to insert an element into a Dictionary guaranteeing that the item is in the first index of t

9条回答
  •  孤城傲影
    2020-12-17 10:39

    The Dictionary can't be ordered.

    You can try SortedDictionary instead, but that one is ordered by the Key, not by a separate index.

提交回复
热议问题