How to get last month date from C# code?

  1. DateTime.Now.PreviousMonth;

  2. DateTime.Now.CurrentMonth - 1;

  3. DateTime.Now.AddMonths(-1);

  4. DateTime.Now.AddMonths(1);


Correct Option: C

Find more quizzes: