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