Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
This structure exist in java but i can't found it in c#.
Please help me, tank you.
Posted

1 solution

 
Share this answer
 
Comments
Sascha Lefèvre 30-Mar-15 10:34am    
Nice to know about! +5
hazrati 3-Apr-15 3:39am    
Are we can sort keys in MultiDictionary?
Richard Deeming 7-Apr-15 7:16am    
From what I've read, I don't think the MultiHashMap class stores its keys in any particular order. However, I'm not a Java developer, so I could be wrong.

The MultiDictionary doesn't store sorted keys. However, you could use the LINQ OrderBy, OrderByDescending, ThenBy and ThenByDescending methods to read the keys in the desired order.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900