c# intersection two collections returns collection with intersected index and new field
Advertisements I have two collections: IEnumerable<int> data1 = new List<int> {101, 102, 103, 104}; IDictionary<int, int> data2 = new Dictionary<int, int> { { 101, 1 }, { 104, 0 } }; I want do to something like var newData = data2.intersect(data2, lambda expression); newData should be a collection of IEnumerable<int, bool> being the first field… Read More c# intersection two collections returns collection with intersected index and new field