
C# 7 and .NET Core: Modern Cross-Platform Development

There are two ways to publish and deploy a .NET Core application:
If you choose to deploy your application and its dependencies, but not .NET Core itself, then you rely on .NET Core already being on the target computer. This works well for web applications deployed to a server because .NET Core and lots of other web applications are likely already on the server.
Sometimes, you want to be able to give someone a USB key containing your application and know that it can execute on their computer. You want to perform a self-contained deployment. The size of the deployment files will be larger, but I will know that it will just work.
Add a new console application project named Ch16_DotNetCoreEverywhere
.
Modify the code to look like this:
using System; namespace Ch16_DotNetCoreEverywhere { class Program { static void Main(string[] args) { ...
Change the font size
Change margin width
Change background colour