Pages

30 Mayıs 2016 Pazartesi

C# Matrix Ekranı Uygulama Komutları

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MatrixYesilEkran
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.ForegroundColor = ConsoleColor.Green;
            Console.Clear();
            Console.BackgroundColor = ConsoleColor.Black;
            Console.Clear();


            for (int i = 0; i <= 100; i++)
            {
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.Write("         Matrix Ekranı Açılıyor. . .");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine("                             Powered by pcdunyasi.org");
                System.Threading.Thread.Sleep(100);
                Console.Clear();
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine(" ");
                Console.WriteLine("         Yükleme Durumu : %" + i);

            }
            Console.ReadKey();
            Console.ForegroundColor = ConsoleColor.Green;
            Console.Clear();
            Console.BackgroundColor = ConsoleColor.Black;
            Console.Clear();

            Random rnd = new Random();

            for (decimal y = rnd.Next(-999999999, 999999999); ; y++)
            {
                Console.WriteLine("\t" + y);
                y = rnd.Next(-999999999, 999999999);
            }
        }
    }
}


Hiç yorum yok: