In C#, how do you output the contents of a Dictionary class?

  • Bill_Thompson
  • Student
  • Student
  • User avatar
  • Posts: 80

Post 3+ Months Ago

In C#, how do you output the contents of a Dictionary class?

Once you have loaded a Dictionary class with keys and values, how do I cycle through them and output the individual values in a foreach loop?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Zealous
  • Guru
  • Guru
  • User avatar
  • Posts: 1240
  • Loc: Sydney

Post 3+ Months Ago

http://www.dotnetperls.com/dictionary

foreach section should help.
  • Bill_Thompson
  • Student
  • Student
  • User avatar
  • Posts: 80

Post 3+ Months Ago

success !!
  • Zealous
  • Guru
  • Guru
  • User avatar
  • Posts: 1240
  • Loc: Sydney

Post 3+ Months Ago

Bill_Thompson wrote:
success !!


Great news, holla if you need more help.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 124 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.