dotNet SDK Console App

A .NET Console project is a great way to practice C# basics like variables, methods, arrays, and conditional statements.

Step 1: Create a Console Project

Open a terminal (Command Prompt, PowerShell, or VS Code terminal).

Create a new folder:

mkdir CSharpPractice

cd CSharpPractice


Step 2 :Create a console application:

dotnet new console

Or give it a specific name:

dotnet new console -n BasicsPractice

cd BasicsPractice


Step 3: Open in VS Code 

If you use Visual Studio Code, install the C# extension when prompted.


Step 4: Run the Program

dotnet run

Replace Program.cs
-- u can practice in this file about C# variables, functions , oops , data types , etc --