BiliRanking.Program.Main C# (CSharp) Method

Main() private method

private Main ( string args ) : void
args string
return void
        static void Main(string[] args)
        {
            Console.Title = "哔哩哔哩榜单生成器";

            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.BackgroundColor = ConsoleColor.DarkBlue;
            Console.WriteLine("[WELCOME] 欢迎使用四季天书主持开发的哔哩哔哩榜单生成器!请在月刊鬼畜群或Github里反馈使用建议~");
            Console.WriteLine("[WELCOME] 所有状态都会显示在这里哦~千万不要把伦家关掉!");
            Console.ForegroundColor = ConsoleColor.Gray;
            Console.BackgroundColor = ConsoleColor.Black;
            Console.WriteLine();
            #if DEBUG
            Log.Debug("当前处于debug模式,将会显示调试信息~");
            #endif
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FormMain());
        }
Program