C# вопросы и ответы для интервью
Вопрос 26. Where is the output of TextWriterTraceListener redirected?
To the Console or a text file depending on the parameter passed to the constructor.
Вопрос 27. How do you debug an ASP.NET Web application?
Attach the aspnet_wp.exe process to the DbgClr debugger.
Вопрос 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).
Вопрос 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.
Вопрос 30. Explain the three services model (three-tier application).
Presentation (UI), business (logic and underlying code) and data (from storage or other sources).
Самое полезное по оценкам пользователей:
- Whats the advantage of using System.Text.StringBuilder over System.String?
- Can you store multiple data types in System.Array?
- Whats the difference between the System.Array.CopyTo() and System.Array.Clone()?
- How can you sort the elements of the array in descending order?
- Whats the .NET datatype that allows the retrieval of data by a unique key?