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