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