using System.Collections.Generic;
public static void Main()
Dictionary<int, Row> rowDictionary = new Dictionary<int, Row>();
rowDictionary.Add(row1.Date, row1);
rowDictionary.Add(row2.Date, row2);
rowDictionary.Add(row3.Date, row3);
Row radek = rowDictionary[20160101];
Console.WriteLine("Datum = {0}, Channel = {1}, Metric = {2}", radek.Date, radek.Channel, radek.Metric);
foreach(KeyValuePair<int, Row> rowKeyValuePair in rowDictionary)
Console.WriteLine("Date = {0}", rowKeyValuePair.Key);
Row roow = rowKeyValuePair.Value;
Console.WriteLine("Datum = {0}, Channel = {1}, Metric = {2}", rowKeyValuePair.Key, roow.Channel, roow.Metric);
var current_dat = new Dictionary<string, Dictionary<string, double>>
{ "Facebook", new Dictionary<string, double> { { "Investment", 155000 }, { "Impressions", 9630000 } } },
{ "Google", new Dictionary<string, double> { { "Investment", 300000 }, { "Impressions", 85000 } } },
{ "Zbozi", new Dictionary<string, double> { { "Investment", 12000 }, { "Impressions", 60000 } } }
foreach(string key in current_dat.Keys)
foreach(KeyValuePair<string, Dictionary<string, double>> pair in current_dat)
public int Date {get; set;}
public string Channel {get; set;}
public string Metric {get; set;}