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