using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace VoidGamingServer
{
class Program
{
static void Main(string[] args)
{
Console.Title = ("VoidGamingServer");
String name = Environment.UserName;
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Press Enter to terminate at anytime.\r\n"); System.Threading.Thread.Sleep(1000); Console.WriteLine("Welcome, " + name);
System.Threading.Thread.Sleep(2000);
Console.WriteLine("\r\nLoading files...");
Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine("0%"); System.Threading.Thread.Sleep(1000); Console.WriteLine("10%"); System.Threading.Thread.Sleep(2000); Console.WriteLine("20%"); System.Threading.Thread.Sleep(2000); Console.WriteLine("30%"); System.Threading.Thread.Sleep(500); Console.WriteLine("40%"); System.Threading.Thread.Sleep(500); Console.WriteLine("50%"); System.Threading.Thread.Sleep(500); Console.WriteLine("60%"); System.Threading.Thread.Sleep(250); Console.WriteLine("70%"); System.Threading.Thread.Sleep(250); Console.WriteLine("80%"); System.Threading.Thread.Sleep(50); Console.WriteLine("90%"); System.Threading.Thread.Sleep(50); Console.WriteLine("100%"); System.Threading.Thread.Sleep(2000); Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine("Done! Launching Server...");
Console.Read();
Console.WriteLine("Terminating...", Environment.ExitCode);
}
}
}
namespace Thread
{
class System
{
static void Second (string[] args)
{
System.Threading.Thread newThread;
newThread = new System.Threading.Thread(Console.WriteLine("Program will terminate when loading is at 100%"));
}
}
}