Sunday, January 25, 2015

Alternative to Dictionary collection

You can enumerate through keys in a dictionary



Dictionary<string, string> dict = new Dictionary<string, string>();
foreach (string key in dict.Keys.AsEnumerable())
{
string values = dict[key];
}





jdweng


No comments:

Post a Comment