Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

C# Interview Questions and Answers

Ques 26. Where is the output of TextWriterTraceListener redirected?

To the Console or a text file depending on the parameter passed to the constructor.

Is it helpful? Add Comment View Comments
 

Ques 27. How do you debug an ASP.NET Web application?

Attach the aspnet_wp.exe process to the DbgClr debugger.

Is it helpful? Add Comment View Comments
 

Ques 28. What are three test cases you should go through in unit testing?

Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling), exception test cases (exceptions are thrown and caught properly).

Is it helpful? Add Comment View Comments
 

Ques 29. Can you change the value of a variable while debugging a C# application?

Yes, if you are debugging via Visual Studio.NET, just go to Immediate window.

Is it helpful? Add Comment View Comments
 

Ques 30. Explain the three services model (three-tier application).

Presentation (UI), business (logic and underlying code) and data (from storage or other sources).

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

©2024 WithoutBook