/debug[+ | -]
The /debug option causes the compiler to generate debugging information and place it in the output file(s). Use this option to create debug builds. If /debug (or /debug+) is not specified, you will not be able to debug the output file of your program.
By default, debugging information is not emitted (/debug-). To emit debugging information, specify /debug or /debug+.
Place debugging information in output file app.exe
:
csc /debug /out:app.exe test.cs