First And Last Date C#

DateTime date = DateTime.Now(); 
var firstDayOfMonth = new DateTime(date.Year, date.Month, 1);
var lastDayOfMonth = firstDayOfMonth.AddMonths(1).AddDays(-1);

get the last day of the month
get the first day of the month