static void Main(string[] args) { MonthsCollection month = new MonthsCollection(); System.Console.WriteLine(month["Styczeń"]); month["Styczeń"] = 15; System.Console.WriteLine(month["Styczeń"]); Console.ReadKey(); }
static void Main(string[] args) { MonthsCollection year = new MonthsCollection(); Console.WriteLine(year["Styczeń"]); Console.WriteLine(year["Made-up Day"]); Console.ReadKey(); }