Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Threading;
- namespace datetimezkouska
- {
- class DateTimeZkouska
- {
- static void Draw()
- {
- int width = Console.WindowWidth;
- string line_top_bot = new string('*', width);
- Console.Write(line_top_bot);
- string line_middle = new string(' ', width - 2);
- int a = 0;
- while (a < 4)
- {
- a++;
- Console.Write("*{0}*", line_middle);
- }
- Console.WriteLine(line_top_bot);
- }
- static void Main(string[] args)
- {
- for (; ; )
- {
- int b = 0;
- while(b < 1)
- {
- Console.Clear();
- Draw();
- Thread.Sleep(1000);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement