6
A ordem dos elementos no Dicionário
Minha pergunta é sobre enumerar os elementos do Dicionário // Dictionary definition private Dictionary<string, string> _Dictionary = new Dictionary<string, string>(); // add values using add _Dictionary.Add("orange", "1"); _Dictionary.Add("apple", "4"); _Dictionary.Add("cucumber", "6"); // add values using [] _Dictionary["banana"] = 7; _Dictionary["pineapple"] = 7; // Now lets see how elements are returned …
107
c#
.net
dictionary
ienumerable