When do I have to use dictionaries in c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

When do I have to use dictionaries in c#

Please can someone tell me the situations for use of dictionaries or use of dictionaries

3rd Sep 2020, 6:21 PM
Joseph Oritseweyinmi
Joseph Oritseweyinmi - avatar
1 Answer
+ 2
When you want to get quick access to the characteristics of a particular object 🤔 Close relation between the keys and values helps a lot when arrays make it difficult 😄 Simple implementation: Make a code that provides the respective arrays of all the factors of numbers from 1 to 50!
3rd Sep 2020, 7:33 PM
Namit Jain
Namit Jain - avatar