using System.Collections.Generic;
public static void Main()
var start = DateTime.Now;
List<string> tydnyVyberu = new List<string>();
if (start.DayOfWeek == DayOfWeek.Monday)
datumPondeli = start.Day + "." + start.Month + ". " + start.Year;
start = start.AddDays(4);
datumPatek = start.Day + "." + start.Month + ". " + start.Year;
tydnyVyberu.Add(datumPondeli + " - " + datumPatek);
else start = start.AddDays(1);
Console.WriteLine("Vyberte číslo týdne, pro který chcete vytvořit jídelníček (0÷5):");
for (int i = 0; i < tydnyVyberu.Count; i++)
Console.WriteLine(i + ": " + tydnyVyberu[i]);
int tydenZvoleny = int.Parse(Console.ReadLine());
Console.WriteLine("Vytvářím jídelníček pro zvolený týden " + tydenZvoleny + ": " + tydnyVyberu[tydenZvoleny]);