Comparison of programming languages (associative array): Difference between revisions

Content deleted Content added
C++: Orthograph
m link foreach loop using Find link
Line 74:
</source>
 
A [[foreach loop]] can enumerate through the entire collection. There is no guarantee of order. If order matters the programmer could choose to use a SortedDictionary or use a .Sort linq extension method.
<source lang=CSharp>
// loop through the collection and display each entry