Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- /*
- * Create a console application that prints the current date and time
- */
- class DateAndTime
- {
- static void Main()
- {
- Console.WriteLine("Current date and time\n{0}",DateTime.Now);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement