C#控制台关闭之前做一些操作 using System;using System.Runtime.InteropServices;class Program { static void Main(string[] args) { handler = new ConsoleEventDelegate(ConsoleEventCallback); SetCo .NET 2024-09-28 147 点赞 2 评论 222 浏览