educative.io

Educative

I have a confusion over whether Dictionary in c# preserves insert order or not. I read in many articles that it is not preserved.But here in this article about hashmap vs dictionary, it says order is preserved. Could you please clarify

Hi @Rajashree_Manjulalay,

Thank you so much for pointing it out. As the dictionary doesn’t maintain any insertion order for stored values, I have removed that point from the lesson. I would politely request you to have a look at it for confirmation.

Happy Learning!