+ 1

C# Dictionary’s and Lists!

I have been struggling when it comes to using a A dictionary that takes a list in. Basically creating an empty collection then populating it with user input. Can anyone point me I the right direction to get over this hump? For ex - Adding and removing ! Dictionary <string, List<Coin>> () ;

22nd Mar 2019, 1:10 AM
Ludwin
1 Respuesta
+ 2
I have made some sample code. It is confusing when you think the value-part of the key-value pair a simple variable and in fact it is a list which need to be processed first. https://code.sololearn.com/clYpmbbSIPsp Hope this explains it for you.
22nd Mar 2019, 10:50 PM
sneeze
sneeze - avatar