I am writing a simple C# program with some outputs (Console.WriteLine(\"...\");). The problem is, each time I run it, I cannot see the program\'s output in the
Console.WriteLine(\"...\");
In Program.cs, between:
static int Main(string[] agrs) {
and the rest of your code, add:
#if DEBUG int rtn = Main2(args); Console.WriteLine("return " + rtn); Console.WriteLine("ENTER to continue."); Console.Read(); return rtn; } static int Main2(string[] args) { #endif