当前位置:网站首页>退出当前C#应用程序的方法
退出当前C#应用程序的方法
2022-07-21 12:39:00 【xqlily】
网上查到有很多种退出当前C#应用程序的方法,但是试了一下,下面这种方法可以成功:
using System;
//Console.Write("Game Over! "); //在cmd输出提示信息Game Over!
System.Environment.Exit(0);
边栏推荐
- Hot100 单词拆分
- 深入理解Istio流量管理的超时时间设置
- window10系统常用操作
- MapStruct代码生成器实现对象转换
- 安排项目宣讲日程得到最多的宣讲场次
- 让Matplotlib、Seaborn数据图动起来~
- Matplotlib adjust legend related content
- [FPGA tutorial case 33] communication case 3 - BPSK modulation signal generation based on FPGA, and its constellation is tested by MATLAB
- Summary of related concepts of Nacos
- Example demonstration of "uncover the secrets of asp.net core 6 framework" [04]: Custom dependency injection framework
猜你喜欢
继承,重写,重载
New forms of software supply chain attacks
HOT100 word split
阿里云ECS手动挂载磁盘
泰山OFFICE技术讲座:如何给页面设置边框、背景
300. 最长递增子序列
Hcip notes sorting 2022/7/15
巴比特 | 元宇宙每日必读:要求高级政府官员披露其在NFT上的所有投资?美国政府道德办公室发布的这份法律咨询还说了什么?...
[fuzzy neural network] design of fuzzy neural network controller based on Simulink
【模糊神经网络】基于simulink的模糊神经网络控制器设计
随机推荐
深入理解Istio流量管理的超时时间设置
马斯克上传大脑很疯狂,Neuralink却早已一地鸡毛
Cmakelists guide notes
交互式虚拟现实技术在药物发现中的新兴潜力
微信小程序
从底层了解JVM的volatile实现,CPU Cache、缓存一致性MESI、Store BufferI、nvalidate Queue等知识
【低代码】1387- 试着换个角度理解低代码平台设计的本质
安排项目宣讲日程得到最多的宣讲场次
自定义web框架
写页面注意的问题
Academia vs industry: can deep learning break the ceiling of video coding and decoding
Some content records of the relearning of Gan network
300. 最长递增子序列
OptaPlanner 发展方向与问题
[FPGA tutorial case 33] communication case 3 - BPSK modulation signal generation based on FPGA, and its constellation is tested by MATLAB
Printer vulnerability (RCE)
Sdl2 concise tutorial (I): using cmake and Conan to build sdl2 programming environment
可变与不可变数据类型
软考 系统架构设计师 简明教程 | 软件开发模型
ICML2022最佳论文奖:从数百万个预测结构中学习蛋白质逆折叠