c# get first element in dictionary code example Example: c# dictionary first dictionary.Keys.First();