get largest value in a dictionary c# code example Example: c# dictionary get highest key myDictionary.Keys.Max();