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

Discussion in 'Mixed Languages' started by Xarzu, Aug 23, 2012.

  1. Xarzu

    Xarzu MDL Novice

    Nov 28, 2009
    14
    0
    0
    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?