Introduction to C#

C# has been around for quite some period, and it continues to develop, obtaining more enhanced features.

Learning Objective

  1. How to install Visual Studio

  2. How to write your first C# program


The article is beginner level, so previous coding experience is not required.

Getting Started

C# is an object-oriented programming language that allows developers to build various kinds of reliable and healthy applications.

Programming language C# is used to develop the following applications

  1. Desktop based application: For example WinForms, WPF, and many more.

  2. Mobile based applications: using Xamarin cross-platform development.

  3. Web applications: using ASP.Net MVC and ASP.Net Core MVC.

  4. Web services: via ASP.Net Web API, ASP.Net Core Web API and WCF services.

  5. Games: Unity framework, and much more.

Software Dependency

To begin, go to and download the free community 2019 edition. The visual studio IDE supports multiple programming language templates, chooses required components.

For example, for C# development for console and web application, select the below-highlighted components.

For .Net Core cross-application development, select the following module.

After selection, install the Visual Studio IDE and follow the below steps to write the first C# “Hello World” program.

Hello world Console Application

Open visual studio and go to menu item File > New > Project and select console application(.Net Framework)

Click Next, and the visual studio will create a console application template. Write the following code to write “Hello World” inside the main method, which outputs the same message in the console window.

class Program
  static void Main(string[] args)
    Console.WriteLine("Hello World!");    


Now hit the play button on the IDE menu or hit the F5 key to run the program in debug mode. To run things quicker, hit “Ctrl + F5” and run the program in release mode.

Thank you for reading, and I hope you liked the article. Please provide your feedback in the comment section.

Follow on following channels to stay tuned on upcoming courses on C#

C# Publication, LinkedIn, Instagram, Twitter,, Pinterest, Substack, Wix

Tags: #ProgrammingLanguages #Csharp #DotnetCore #Dotnet #Programming

Recent Posts

See All

Design Pattern – Adapter

#Aspnetcore #AdapterDesignPattern #Csharp #DesignPatterns #Dotnet According to Gang of Four, the Adapter Pattern converts the interfaces of a class into interfaces that the client requires. In other w