I want to test the Finalizers in C# and i use ctrl+f5 to run the code.but it always close automatically.我想在 C# 中测试终结器,我使用 ctrl+f5 来运行代码。但它总是自动关闭。can someone tell me how to fix it ?有人能告诉我如何解决吗?thanks.谢谢。
1 个解决方案
解决方案1
-1 2020-03-13 10:01:28
Add below code at last inside main method最后在main方法中添加以下代码