Advertisement
ozakisama

Loading Dot by Bautistanas

Jul 2nd, 2014
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.46 KB | None | 0 0
  1.             int flag = 0;
  2.             switch (flag)
  3.             {
  4.                 case 0:
  5.                     Console.Write("Loading");
  6.                     for (int i = 0; i < 3; i++)
  7.                     {
  8.                         Thread.Sleep(500);
  9.                         Console.Write(".");
  10.                     }
  11.                     goto case 1;
  12.                 case 1:
  13.                     Console.Clear();
  14.                     goto case 0;
  15.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement