WHAT IS C# C# is pronounced “C-Sharp”. It is an object-oriented programming 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.
WHY WE USE C#?? It is one of the most popular programming languages in the world
It is easy to learn and simple to use It has 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
Like other general-purpose programming languages, C# can be used to create a number of different programs and applications: mobile apps, desktop apps, cloud-based services, websites, enterprise software and games. Lots and lots of games. While C# is remarkably versatile, there are three areas in which it is most commonly used.
Windows applications C# was created by Microsoft for Microsoft, so it’s easy to see why it’s most popularly used for the development of Windows desktop applications. C# applications require the Windows .
C# for Games C# might just be one of the best programming languages for gaming. This language is heavily used to create fan-favorite games like Rimworld on the Unity Game Engine.
C# for website development C# is often used to develop professional, dynamic websites on the .NET platform, or open-source software. So, even if you’re not a fan of the Microsoft architecture, you can still use C# to create a fully-functional website.
EXAMPLE OF C#
C#Keywords Keywords are reserved words predefined to the C# compiler. These keywords cannot
be used as identifiers. However, if you want to use these keywords as identifiers, you
may prefix the keyword with the @ character. In C#, some identifiers have special meaning in context of code, such as get and set
are called contextual keywords.
The following table lists the reserved keywords and contextual keywords in C#: