static void Main(string[] args) { new ConsoleCtrl(); Console.Read(); } class ConsoleCtrl { [DllImport("User32.dll", EntryPoint = "FindWindow")] private static extern IntPtr Fi
C# Console 运行之后最小化到状态栏
![](https://img-home.csdnimg.cn/images/20240709112858.png)
static void Main(string[] args) { new ConsoleCtrl(); Console.Read(); } class ConsoleCtrl { [DllImport("User32.dll", EntryPoint = "FindWindow")] private static extern IntPtr Fi