I have three dictionaries with same type keys. I need to get distinct keys for all three dictionaries. How can I do that?
var rmDict = rmTrxs
.GroupBy(x => new { x.Name, x.Pfx.Id })
.ToDictionary(z => z.Key, z => z.ToList());
var vaDict = vaTrxs
.GroupBy(x => new { x.Name, x.Pfx.Id })
.ToDictionary(z => z.Key, z => z.ToList());
var smDict = smTrxs
.GroupBy(x => new { x.Name, x.Pfx.Id })
.ToDictionary(z => z.Key, z => z.ToList());
Now I need to get distinct keys from rmDict
, vaDict
and smDict
.