C# Dictionary with two Values per Key?

前端 未结 10 1314
被撕碎了的回忆
被撕碎了的回忆 2020-12-13 17:36

I have a situation in code where a Dictionary seemed like the best idea - I need a collection of these objects and I need them to be acces

10条回答
  •  一向
    一向 (楼主)
    2020-12-13 18:02

    Doesn't this work for ya?

    Dictionary>
    

    Or you could use a Tuple and have a dictionary of that:

    Dictionary>
    

提交回复
热议问题