csharp iorderedenumerable to dictionary

Code Example - csharp iorderedenumerable to dictionary

                
                        sortedDict.ToDictionary(pair => pair.Key, pair => pair.Value);