Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Threading;
- namespace Test_kolorow_2
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("H");
- Thread.Sleep(100);
- Console.ForegroundColor = ConsoleColor.Green;
- Console.Write("e");
- Thread.Sleep(100);
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.Write("l");
- Thread.Sleep(100);
- Console.ForegroundColor = ConsoleColor.Blue;
- Console.Write("l");
- Thread.Sleep(100);
- Console.ForegroundColor = ConsoleColor.Magenta;
- Console.Write("o");
- Thread.Sleep(100);
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.Write(" ");
- Thread.Sleep(100);
- Console.ForegroundColor = ConsoleColor.Red;
- Console.Write("World!");
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment