Practicing and exploring
Test your knowledge and understanding by answering some questions, getting some hands-on practice, and exploring, with deeper research, the topics covered in this chapter.
Exercise 4.1 – Test your knowledge
Answer the following questions. If you get stuck, try googling the answers, if necessary, while remembering that if you get totally stuck, the answers are in the Appendix:
- What does the C# keyword
void
mean? - What are some differences between imperative and functional programming styles?
- In Visual Studio Code or Visual Studio, what is the difference between pressing F5, Ctrl or Cmd + F5, Shift + F5, and Ctrl or Cmd + Shift + F5?
- Where does the
Trace.WriteLine
method write its output to? - What are the five trace levels?
- What is the difference between the
Debug
andTrace
classes? - When writing a unit test, what are the three “A”s?
- When writing a unit test using xUnit, which attribute...