Last active
June 26, 2017 00:09
-
-
Save rushfrisby/da85bc690fcfbc669dd5f6b301d1b570 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Drawing; | |
using Console = Colorful.Console; | |
namespace lolcmd | |
{ | |
class Program | |
{ | |
private static Random random = new Random(); | |
static void Main(string[] args) | |
{ | |
for (int i = 0; i < 100; i++) | |
{ | |
Console.WriteLine("this is some text", GetNextColor()); | |
} | |
Console.ReadLine(); | |
return; | |
} | |
private static Color GetNextColor() | |
{ | |
return Color.FromArgb(random.Next(1, 255), random.Next(1, 255), random.Next(1, 255)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment