Interview Questions

What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?

ASP.NET and .NET WEB Questions and Answers


(Continued from previous question...)

What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?

Debug build contain debug symbols and can be debugged while release build doesn’t contain debug symbols, doesn’t have [Contional(”DEBUG”)] methods calls compiled, can’t be debugged (easily, that is), less checking, etc. There should be a speed difference, because of disabling debug methods, reducing code size etc but that is not a guarantee (at least not a significant one)

(Continued on next question...)

Other Interview Questions