C# Introduction

C# is a general-purpose, modern, and object-oriented programming language. It was developed by Microsoft’s Anders Hejlsberg and his team under the .NET initiative. C# is similar to Java syntactically. It works with the .NET framework.

.NET framework is a framework used to develop cross-platform applications with languages such as C#, C++, Visual Basic, etc.

Visual Studio 2019, and Visual Studio 2022 IDEs are used to run C# code.

// Structure of a C# program.
using System;
  
namespace LearningProgram
{   
    class LearnProgram
    {   
        // Main function
        static void Main(string[] args)
        {
            Console.WriteLine("Hello Coders");
        }
    }
}