Home »
MCQs »
ASP.Net MCQs
What is the difference between Debug and Trace class in ASP.Net?
36. What is the difference between Debug and Trace class in ASP.Net?
- The Debug class is used to debug both builds and releases while the Trace class is used to debug the builds only
- Debug class is used in ASP core while Trace is used in ASP MCC
- The Debug class is used to debug the builds while the Trace class is used to debug both builds and releases
- All of the above
Answer: C) The Debug class is used to debug the builds while the Trace class is used to debug both builds and releases
Explanation:
The difference between Debug and Trace class in ASP.Net is - The Debug class is used to debug the builds while the Trace class is used to debug both builds and releases.