Chapter 5 - Debugging, Monitoring, and Testing

  1. In Visual Studio 2017, what is the difference between pressing F5, Ctrl + F5, Shift + F5, and Ctrl + Shift + F5?
    • F5 saves, compiles, runs, and attaches the debugger, Ctrl + F5 saves, compiles, and runs the debugger, Shift + F5 stops the debugger, and Ctrl + Shift + F5 restarts the debugger.
  2. What information can you find out about a process?
  3. How accurate is the Stopwatch class?
  4. How do you reference another project in a .csproj file?
            <ItemGroup>
            <ProjectReference
            Include="..Ch05_CalculatorCh05_Calculator.csproj" />
            </ItemGroup>
  5. When writing a unit test, what are the three As?
    • Arrange, Act, Assert.
  6. What dotnet command executes xUnit test?
    •  dotnet test
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.200.242