c# tuple list to dictionary code example
Example: convert list of tuples to dictionary c#
IList<Tuple<long, int>> applyOnTree;
applyOnTree.ToDictionary(x => x.Item1, x => x.Item2);
IList<Tuple<long, int>> applyOnTree;
applyOnTree.ToDictionary(x => x.Item1, x => x.Item2);