Foibs

Epilepsy Generator

Nov 12th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. namespace ConsoleApp4
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             int[] pinakas = new int[100000000];
  10.             Random rnd = new Random();
  11.            
  12.  
  13.             for (int i = 0; i < 100000000; i++)
  14.             {
  15.                 pinakas[i] = rnd.Next(0, 100000000);
  16.             }
  17.  
  18.             for (int i = 0; i < 100000000; i++)
  19.             {
  20.                 Console.ForegroundColor = (ConsoleColor)rnd.Next(0, 14);
  21.                 Console.Write(pinakas[i]);
  22.             }
  23.  
  24.         }
  25.     }
  26. }
Add Comment
Please, Sign In to add comment