Printing a Hello World Text in CSharp

Hello to everyone,

In this article, I will give information about how to write hello world in CSharp.

You can easily do this using the code below.

using System;

namespace Hello_World_Example
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            Console.ReadKey();
        }
    }
}


When you run the above code, you will see a result similar to the one below.

Printing a Hello World Text in CSharp

As you can see, Hello World has been written.

Good luck to everyone, in business and life

2 Views

Yavuz Selim Kart

I try to explain what I know in software and database. I am still improving myself by doing research on many programming languages. Apart from these, I am also interested in Graphic Design and Wordpress. I also have knowledge about SEO and Social media management. In short, I am a determined person who likes to work hard.

Share

Don`t copy text!