How to create and run C# project

This post is just a reminder for me. So in order to find more details about dotnet CLI, follow the below link

Creating a C# Project

Creating a Console Project

dotnet new console -o console-demo1

Creating a WebApi Project

dotnet new webapi -o webapi-todo-demo1

1. Creating a C# Console Project

-o or –output is location to place for new generated project.

dotnet new console -o enum_demo4
Folder Structure
Generated Project
Continue reading