What collection should be used when you have Name - Price relationship? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What collection should be used when you have Name - Price relationship?

Should I use just two arrays or is there something better and more practical?

9th Apr 2020, 6:37 PM
Теодор Костадинов
Теодор Костадинов - avatar
1 Answer
+ 4
I think a dictionary would better. https://www.sololearn.com/learn/CSharp/3040/?ref=app
9th Apr 2020, 6:43 PM
Denise Roßberg
Denise Roßberg - avatar