Why is the console window closing immediately once displayed my output?
问题 I\'m studying C# by following the guides in MSDN . Now, I just tried the Example 1 (here is the link to MSDN ), and I\'ve encountered an issue: why is the console window closing immediately once displayed my output? using System; public class Hello1 { public static int Main() { Console.WriteLine(\"Hello, World!\"); return 0; } } 回答1: the issue here is that their Hello World Program is showing up then it would immediately close. why is that? Because it's finished. When console applications