Home / Programs / C# program to Print Hello World!
Programming Example

C# program to Print Hello World!

👁 485 Views
💻 Practical Program
📘 Step by Step Learning
first program in c# language

Program Code

using System;

namespace TechStudyCSharp
{
    class Program
    {
        static void Main(string[] args)
        {

            Console.WriteLine("Hello World");
            Console.Read();           
        }
    }
}

Output

Hello World

Explanation

My first C# Language

How to learn from this program

First read the algorithm, then study the program code line by line. After that, compare the code with the output and finally go through the explanation. This approach helps learners understand both the logic and the implementation properly.