Composite Key Dictionary

后端 未结 9 522
心在旅途
心在旅途 2020-12-02 10:18

I have some objects in List, let\'s say List and MyClass has several properties. I would like to create an index of the list based on 3 properti

9条回答
  •  暖寄归人
    2020-12-02 10:47

    How about Dictionary>>?

    This would allow you to do:

    MyClass item = MyData[8][23923][date];
    

提交回复
热议问题