convert list of tuples to dictionary csharp

Code Example - convert list of tuples to dictionary csharp

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