NedyalkoKikov

AfterOneDay

May 18th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace AfterCoupleOfDays
  8. {
  9. class AfterCoupleOfDays
  10. {
  11. static void Main()
  12. {
  13. DateTime thisDay = DateTime.Now;
  14. Console.WriteLine(thisDay);
  15. DateTime tommorow = thisDay.AddDays(1);
  16. Console.WriteLine("After one day will be {0:d-MM-yyyy}", tommorow);
  17.  
  18. }
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment