Dictionary List<>

I’m having a hard time storing multiple names and degrees to my dictionary list.
Im using a menu so user can add multiple names and degrees but only one name and degree saving to my dictionary list, when I click on my menu Show All Students.


If you start over with a new dictionary every time you add something then …

Meaning I will need a loop. Which one? I can’t figured out how to start writing out my loop.

meaning that you should define it once and then never again

I’m not understanding what you pointing to. More info would gladly help.

You’re saying you don’t have as many entries in your dict as you expect.

You are repeatedly setting it to empty, so yeah, no wonder that entries are getting discarded.

1 Like

Thanks I see what you talking about now. That part working now.

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.