May 2018
Intermediate to advanced
394 pages
9h 51m
English
In steps 1 to 7, we opened an existing Visual Studio solution and added a new project to it. The newly added project is a .NET-based console application. In steps 9 to 11, we added the reference to the .NET Standard 2.0 library project. This is an important step. To use the functionality in the library, you must add the project as a reference.
In step 13, we added code to use the libraries' first method. The first line of code will define a variable to hold the instance of the Helpers() class. The var keyword helps you to create a local variable without giving an explicit type. It simply tells the compiler to get the type of variable from the expression on the right-hand side of the initialization statement. For example, see ...