Overview

C# (pronounced “C-Sharp”) is an object-oriented programming language created by Microsoft. It operates on the .NET Framework. C# has its roots in the C family of languages and shares similarities with popular programming languages like C++ and Java. It is widely used for various purposes, including developing web applications, desktop applications, mobile applications, and games.

C# was developed by Anders Hejlsberg and his team during the development of the .Net Framework and was approved by the European Computer Manufacturers Association (ECMA) and International Standards Organization (ISO).

C# is designed for the Common Language Infrastructure (CLI), which includes the executable code and runtime environment. This allows the use of various high-level languages on different computer platforms and architectures.

Why Use C#?

  • Popularity: C# is one of the most popular programming languages globally.
  • Object-Oriented: C# offers a clear structure for programs, enabling code reuse and reducing development costs.
  • Ease of Learning: It’s easy to learn and straightforward to use, making it accessible for beginners.
  • Cross-platform support: C# is a versatile programming language that can be used to develop applications for Windows, Linux, and macOS.
  • Familiarity: As C# is close to C, C++, and Java, programmers can transition between these languages easily.
  • Community Support: C# has a vast community that provides resources, tutorials, and assistance.

How to start C#?

To begin learning C#, it is recommended to use an Integrated Development Environment (IDE) like Microsoft Visual Studio, Visual Studio Code, etc. An Integrated Development Environment is a software application used to write and compile code. In this tutorial, we will be using Visual Studio Code, which is a free IDE that can be downloaded from https://code.visualstudio.com/download.

When developing applications using the C# programming language, it is recommended to use the .NET Framework. As both the language and the framework are created by Microsoft, it makes sense to use Visual Studio Code, which supports both of them.

Here’s an example of a console application created in VS Code. You can download the source code from the course repository on GitHub – https://github.com/estudy-247/helloworld

using System;

namespace HelloWorld
{
  class Program
{
    static void Main(string[] args)
  {
      Console.WriteLine("Hello World!");  
  }
}
}
Post a comment

Leave a Comment

Scroll to Top