Check out example codes for "convert list of tuples to dictionary c#". It will help you in understanding the concepts better.

Code Example 1

IList<Tuple<long, int>> applyOnTree;
applyOnTree.ToDictionary(x => x.Item1, x => x.Item2);

Learn ReactJs, React Native from akashmittal.com