Hi John,
debug build: will contain debug info, but code is not optimized
debug optimized build: same as above, but code is optimized
To understand the difference between the two, you might want to compile
the sample code I attached (sample.cs) with and without the optimization
turned on.
Then you can compare the IL and notice the differences (not a lot because
this is a very simple code, but it give you an idea). To generate the IL,
you
can you ildasm.exe (provided with VS 2003). You should be able to see that
the optimizer replaced the "if-else" statement with a "switch-case"
statement
(well, if you look carefully
![Smile :-) :-)](/styles/default/custom/smilies/smile.gif)
.
Another way to compare the differences is probably to step into the code
and bring up the "Disassembly" window...
Hope it helps!
-Matteo
--------------------