Kod: Tümünü seç
int gun =(int)DateTime.Now.DayOfWeek;
switch (gun)
{
case 1: Console.Write("Pazartesi");break;
case 2: Console.Write("Salı");break;
case 3: Console.Write("Çarşamba");break;
case 4: Console.Write("Perşembe");break;
case 5: Console.Write("Cuma");break;
case 6: Console.Write("Cumartesi");break;
case 7: Console.Write("Pazar");break;
}