How to create .NET console program

dotnet

Once you have dotnet SDK installed, you can create your first program. To create a console project run dotnet new console -o MyApp This will create MyApp folder with 2 files inside. Program.cs is a basic program that prints “Hello World” text in the console. To run the dotnet project, you can use the command … Read more

Install .NET SDK on Ubuntu 20.04

Microsoft .NET SDK and Run time now available for Linux. To install .NET SDK and runtime on Ubuntu 20.04, follow the instructions below Run the following commands as user root. If you are logged in as a normal user, use the command “sudo su” to become user root. wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb dpkg -i packages-microsoft-prod.deb … Read more