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 ConsoleApp
- {
- class Program
- {
- static void Main(string[] args)
- {
- while (true)
- {
- string defaultString = "A moving line";
- for (int i = 0; i < 2; i++)
- {
- if (i == 0)
- {
- for (int a = 7; a <= 20; a++)
- {
- //WriteTextInPosition(defaultString, a);
- //Thread.Sleep(42);
- }
- }
- if (i == 1)
- {
- for (int a = 19; a > 7; a--)
- {
- //WriteTextInPosition(defaultString, a);
- //Thread.Sleep(42);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment