|
INTERVIEW QUESTIONS
MICROSOFT
DOTNET
DETAILS
Question: What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
Answer: 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)
|
|
|
Category |
DotNet Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9061 users |
Added on |
12/21/2010 |
Views |
68157 |
Rate it! |
|
|
Question:
What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
Answer:
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) Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is the difference between Debug.Write and Trace.Write? When should each be used?
|
View Answer
|
|
Why is catch(Exception) almost always a bad idea?
|
View Answer
|
|
What is FullTrust? Do GAC’ed assemblies have FullTrust?
|
View Answer
|
|
What are PDBs? Where must they be located for debugging to work?
|
View Answer
|
|
What is strong-typing versus weak-typing? Which is preferred? Why?
|
View Answer
|
|
What is the difference between thread and process?
|
View Answer
|
|
What is the difference between a.Equals(b) and a == b?
|
View Answer
|
|
How does the lifecycle of Windows services differ from Standard EXE?
|
View Answer
|
|
What is a Windows Service and how does its lifecycle differ from a “standard” EXE?
|
View Answer
|
|
What is CLR?
|
View Answer
|
|
Explain the differences between Server-side and Client-side code?
|
View Answer
|
|
What type of code (server or client) is found in a Code-Behind class?
|
View Answer
|
|
Should validation (did the user enter a real date) occur server-side or client-side? Why?
|
View Answer
|
|
What does the EnableViewState Means?
|
View Answer
|
|
What is the difference between Servers? Transfer and Response. Redirect? Why would I choose one over the other?
|
View Answer
|
|
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
|
View Answer
|
|
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
|
View Answer
|
|
Can you give an example of what might be best suited to place in the Application Start and Session Start subroutines?
|
View Answer
|
|
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
|
View Answer
|
|
How does VB.NET/C# achieve polymorphism?
|
View Answer
|