I need a Dictionary whose key is an array of integers for example Dictionary<int[],string>
or
Dictionary<List<int>,string>.
But I am quite surprised that the Equality method and hash code method is not defined for me. Is there any easy way to implement such a structure other than creating my own MyType: List<int>
and to define all necessary methods?