c# dictionary get key of max value code example Example: c# dictionary get highest key myDictionary.Keys.Max();