I have two Lists of Lists of int
var a = new List<IList<int>>();
var b = new List<IList<int>>();
Each of them having the following data:
var a = new List<IList<int>>()
{
new List<int>() { 1, 2 },
new List<int>() { 4, 5, 6 },
};
var b = new List<IList<int>>()
{
new List<int>() { 6, 5, 4 },
new List<int>() { 2, 1 },
};
I want to treat a
and b
like sets of sets so, upon a.Equals(b),
it should return true.
How can I do my Equals method?