Question: What method would you use to add 5 days to the current date in C# ? Select one: a . DateTime.Now.Add ( TimeSpan . FromDays

What method would you use to add 5 days to the current date in C#?
Select one:
a.
DateTime.Now.Add(TimeSpan.FromDays(5));
b.
DateTime.Today.AddDays(5);
c.
DateTime.Now.AddDays(5);
d.
DateTime.Today.Add(TimeSpan.FromDays(5));

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!