public static void draw(int month)
{
switch (month)
{
//assign correct number of days to a month
};
for (int day = 1; day <= days; day++)
{
public int weekday = new DateTime(year, month, day);
}
}
I don't know if I am blind or dumb but for some reason, when I pass month parameter as int, it gets recognized as string in the datetime object initialization.