2629881

Untitled

Jul 25th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.06 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Threading;
  7.  
  8. namespace ConsoleApp
  9. {
  10.     class Program
  11.     {
  12.         static void Main(string[] args)
  13.         {
  14.             while (true)
  15.             {
  16.                 string defaultString = "A moving line";
  17.                 for (int i = 0; i < 2; i++)
  18.                 {
  19.                     if (i == 0)
  20.                     {
  21.                         for (int a = 7; a <= 20; a++)
  22.                         {
  23.                             //WriteTextInPosition(defaultString, a);
  24.                             //Thread.Sleep(42);
  25.                         }
  26.                     }
  27.                     if (i == 1)
  28.                     {
  29.                         for (int a = 19; a > 7; a--)
  30.                         {
  31.                             //WriteTextInPosition(defaultString, a);
  32.                             //Thread.Sleep(42);
  33.                         }
  34.                     }
  35.                 }
  36.             }
  37.         }
Advertisement
Add Comment
Please, Sign In to add comment