csharp dictionary get highest key

Code Example - csharp dictionary get highest key

                
                        myDictionary.Keys.Max();