using System;
public class Program
{
public static void Main()
const int MONTH = 5; // write out all the days of May 2015
DateTime dt = new DateTime(2022, MONTH, 1);
while (dt.Month == MONTH)
Console.WriteLine(dt.ToString("ddd dd"));
dt = dt.AddDays(1);
}