Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Program;
- {
- static void Main(string[] args)
- {
- Console.WriteLine("How Long Do You Want To Wait For Your Message?");
- Console.ReadLine(); = string Timer;
- System.DateTime StopTime;
- StopTime = System.DateTime.Now.AddMinutes(Timer);
- if(System.DateTime.Now >= StopTime)
- {
- Console.WiteLine("Thanks, Time is Up");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement