Practicing and exploring
Test your knowledge and understanding by answering some questions, get some hands-on practice, and explore with deeper research into 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:
- What does the C# keyword
void
mean? - What are some differences between imperative and functional programming styles?
- In Visual Studio Code, 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
Debug
andTrace
? - When writing a unit test, what are the three As?
- When writing a unit test using
xUnit
, what attribute must you decorate the test methods with? - What
dotnet
command executesxUnit
tests? - What is TDD?