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?