Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Create a console application that prints the current date and time. Find in Internet how.
- using System;
- class CurrentDateAndTime
- {
- static void Main()
- {
- Console.WriteLine("Date and time now : ");
- DateTime dateAndTimeNow = DateTime.Now;
- Console.WriteLine(dateAndTimeNow);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement