U
Uri Dor
try running this C# code in VS.NET 2003:
using System;
namespace ExitCode
{
class MainClass
{
static int Main(string[] args)
{
return 7;
}
}
}
run it under the debugger, and what do you get?
The program '[4552] ExitCode.exe' has exited with code 0 (0x0).
see? zero, not seven. Is this a bug or what?
using System;
namespace ExitCode
{
class MainClass
{
static int Main(string[] args)
{
return 7;
}
}
}
run it under the debugger, and what do you get?
The program '[4552] ExitCode.exe' has exited with code 0 (0x0).
see? zero, not seven. Is this a bug or what?