Introduction to C#
What is C#?
C# is pronounced as "C-Sharp".
C# (C-Sharp) is a programming language developed by Microsoft that runs on the .NET Framework.
C# is used to develop web apps, desktop apps, mobile apps, games and much more.
It is an object-oriented programming (OOP) language created by Microsoft that runs on the .NET Framework.
C# has roots from the C family, and the language is close to other popular languages like C++ and Java. The first version was released in year 2002. The latest version, C# 8, was released in September 2019.
Advantages of using C#:
- It is one of the most popular programming language in the world
- It is easy to learn and simple to use
- It has a huge community support
- C# is an object oriented language which gives a clear structure to programs and allows code to be reused, lowering development costs.
- As C# is close to C, C++ and Java, it makes it easy for programmers to switch to C# or vice versa.
C# is used for:
- Mobile applications
- Desktop applications
- Web applications
- Web services
- Web sites
- Games
- VR
- Database applications,etc.
This tutorial has been prepared for the beginners to help them understand basic C# programming, and to teach you the basics of C#, like C# syntax and how to work with data types like strings, numbers, and booleans. It is not necessary to have any prior programming experience.
A sample Hello World Program: