BrU32

C# TV Test Simulation SRC

Jul 21st, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 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.  
  7. namespace TV_Screen_Test_App
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. Console.Title = "TV Screen Test SRC";
  14. Console.BackgroundColor = ConsoleColor.Black;
  15.  
  16. for (int i = 0; i < 32; i++)
  17. {
  18. Console.BackgroundColor = ConsoleColor.Black;
  19. Console.WriteLine(" ");
  20. System.Threading.Thread.Sleep(50);
  21. Console.BackgroundColor = ConsoleColor.White;
  22. Console.Write(" ");
  23. Console.BackgroundColor = ConsoleColor.Yellow;
  24. Console.Write(" ");
  25. Console.BackgroundColor = ConsoleColor.Cyan;
  26. Console.Write(" ");
  27. Console.BackgroundColor = ConsoleColor.Green;
  28. Console.Write(" ");
  29. Console.BackgroundColor = ConsoleColor.Magenta;
  30. Console.Write(" ");
  31. Console.BackgroundColor = ConsoleColor.Red;
  32. Console.Write(" ");
  33. Console.BackgroundColor = ConsoleColor.Blue;
  34. Console.Write(" ");
  35. Console.BackgroundColor = ConsoleColor.Black;
  36. Console.Write(" ");
  37. }
  38. Console.Beep(369, 9000000);
  39. Console.Read();
  40.  
  41. }
  42. }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment