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 5.1 - test your knowledge

Answer the following questions:

  1. In Visual Studio 2017, what is the difference between pressing F5, Ctrl + F5, Shift + F5, and Ctrl + Shift + F5?
  2. Which information can you find out about a process?
  3. How accurate is the Stopwatch?
  4. How do you reference another project in a .csproj file?
  5. When writing a unit test, what are the three As?
  6. What dotnet command executes xUnit tests?

Exercise 5.2 - practice debugging and unit testing

Create a console application named Ch05_Exercise02 that performs some simple calculations related to your own ...

Get C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.