Map
what is map in .net
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jul 7, 2014, 1:38 AM EDT
This allows you to look up a particular value given its key, which must be unique.
Maps do not need to be ordered and when you iterate through the collection, the order in which the elements are retrieved is not necessarily the same as the order in which the elements were added.
.NET does not have a Map class as such but instead has the Dictionary
Another name for a map, dictionary or hashtable is an associative array.