C#.Net Getting Last day of the Previous Month from current date
.net, c#
Solution
var now = DateTime.Now;
var firstDayCurrentMonth = new DateTime(now.Year, now.Month, 1);
var lastDayLastMonth = firstDayCurrentMonth.AddDays(-1);
Problem
A quick expression anyone please?