Custom Class used as key in Dictionary but key not found

前端 未结 4 696
忘了有多久
忘了有多久 2020-12-19 02:03

I have a class, show below, which is used as a key in a Dictionary I\'m having issues when trying to find any key within this diction

4条回答
  •  隐瞒了意图╮
    2020-12-19 02:31

    How are you constructing the dictionary? Are you passing your custom equality comparer in to its constructor?

提交回复
热议问题