I need to fetch data from nested Dictionary IN C#. My Dictionary is like this:
static Dictionary&
try:
string s = dict["key"][_float_];
For getting whole lists you can use nested foreach loops:
StringBuilder sb=new StringBuilder();
foreach (var v in dict)
{
sb.Append(v.Key+"=>>");
foreach (var i in v.Value)
{
sb.Append(i.Key + ", " + i.Value);
}
sb.Append(Environment.NewLine);
}
Console.WriteLine(sb);