How to get last month date from code in C Sharp

DateTime LastMonthDate=DateTime.Now.AddMonths(-1);