Chapter 1 - Hello, C#! Welcome, .NET Core!
- Why can a programmer use different languages, for example C# and F#, to write applications that run on .NETCore?
- Multiple languages are supported on .NET Core because each one has a compiler that translates the source code into IL (intermediate language) code. This IL code is then compiled to native CPU instructions at runtime by the CLR.
- What do you type at the prompt to build and execute C# source code?
- Using .NET Core CLI in a folder with a
ProjectName.csproj
file, we typedotnet run
.
- Using .NET Core CLI in a folder with a
- What is the Visual C# developer settings keyboard shortcut to save, compile, and run an application without attaching the debugger?
- Ctrl + F5.
- What is the Visual Studio Code keyboard shortcut to view the Integrated Terminal?
- Ctrl + ` (back tick).
- Is Visual Studio 2017 better then Visual Studio Code?
- No. Each is optimized for different tasks. Visual Studio 2017 is large, heavy-weight, and can create applications with graphical user interfaces, for example WPF, UWP, and...