Prior to .Net Core 2.0, what commands required dotnet restore to be run afterward?
Front
dotnet new, dotnet build, dotnet run
Back
Keyboard shortcut for inserting breakpoint in VS Code for macOS
Front
F9
Back
Shortcut to add breakpoint in Visual Studio for Mac
Front
F9
Back
Build a library or solution using the .Net Core CLI
Front
dotnet build
Back
Syntax and definition of expression-bodied members
Front
public string Label { get => label; set => this.label = value ?? "Default label"; }
Allows certain member functions (e.g., constructors, finalizers, getters and setters) to be implemented as expressions rather than statements
Back
In a C# interpolated string, how do you specify that you want to format a DateTime using the short time format?
Front
$"{date:t}"
Back
Activate the xUnit test runner using the .Net Core CLI
Front
dotnet test pathtotestcsproj
Back
Command to create a new solution using the .Net Core CLI
Front
dotnet new sln -o solutionname
Back
Create a new console app using the .Net Core CLI
Front
dotnet new console -o appname
Back
Command to add an existing class library to a solution using the .Net Core CLI
Front
dotnet sln add pathtocsproj
Back
What is an expression?
Front
Contains identifiers, literals, and operators, and can be reduced to some kind of value
Back
Keyboard shortcut for Step Over while debugging in VS Code for macOS
Front
F10
Back
Run an executable using the .Net Core CLI
Front
dotnet run -p pathtoappcsproj
Back
Keyboard shortcut for Continue while debugging in VS Code for macOS
Front
F5
Back
Add a reference to a project to another project using the .Net Core CLI