What are the different scenarios where I should use List<KeyValuePair<>> instead of Dictionary<>? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What are the different scenarios where I should use List<KeyValuePair<>> instead of Dictionary<>?

Any specific reasons to choose one over the other?

17th May 2018, 7:36 PM
Rusty.Metal
1 Answer
+ 1
Jan Markus I think by List<KeyVsluePair<<> it means hashmap where a key is associated with value like dictionary and not a List or array.🤔🤔
10th Jul 2018, 8:46 AM
Dhruv garg
Dhruv garg - avatar