C# Introduction

C# Introduction

What is C#?

C# (pronounced "C-Sharp") is a modern, object-oriented, and type-safe programming language developed by Microsoft in the year 2000. It is a core part of the .NET Framework and is designed to build a variety of secure and robust applications.

The language has its roots in the C family, making it immediately familiar to C, C++, Java, and JavaScript programmers.


Why Learn C#?

C# is consistently ranked as one of the most popular and widely-used programming languages in the world. Here are some reasons why you should learn it:


The .NET Framework

When you write C# code, it runs on the .NET (dot net) platform. .NET is a free, cross-platform, open-source developer platform for building many different types of applications.

When you write a C# program, it isn't compiled directly into machine code that your computer's processor reads. Instead, it's compiled into an intermediate language (IL). Then, the .NET runtime (the CLR - Common Language Runtime) reads that intermediate language and converts it into machine code on the fly. This means your C# code can run on Windows, macOS, or Linux!


C# vs Java vs C++

If you are coming from other languages, you might wonder how C# compares:


Key Features of C#

C# comes with numerous features that make it a favorite among developers:

What You Will Learn

In this complete C# tutorial series, you will start from the absolute basics, such as variables, data types, and loops. You will then progress into advanced Object-Oriented Programming (OOP) concepts, including classes, inheritance, polymorphism, and file handling.

By the end of this course, you will have a solid foundation to build your own C# applications!


Exercise

?

Which popular game engine uses C# as its primary programming language?