-->
.net CLI is only available from .net core. not the previous versions
    

Create new console app from CLI:

• Run command: dotnet new console --name myapp The template "Console App" was created successfully. Processing post-creation actions... Running 'dotnet restore' on N:\ASP.net\myapp\myapp.csproj... Determining projects to restore... Retored. Restore succeeded. • Check the app is created by running : dir into the app folder you can see program.cs • Go to the app folder right click and open with vs code or vs studio

Build the app from from CLI:

• Run command: myapp/dotnet build Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET Copyright (C) Microsoft Corporation. All rights reserved. Determining projects to restore... All projects are up-to-date for restore. myapp -> N:\ASP.net\myapp\bin\Debug\net6.0\myapp.dll Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:44.94

Run the app :

• Run command: myapp/dotnet run Output: Hello, World! • Trimming, Splitting, Replacing and Reversing • User input and output • Vowels and consonants • Character position • Characters and words Count • Duplicate and Unique characters and words • Palindrome • Anagrams