C# (pronounced “C Sharp”) is a modern, easy to use, object-oriented programming language developed by the Microsoft Corporation. The first version of C# was released in 2002 and the latest version (11.0) was released in November 2022. C# is the most popular language used within Microsoft’s Visual Studio platform. Visual Studio is the software used for developing applications; this type of software is referred to as an Integrated Development Environment (IDE).
C# uses the
.NET Platform, which contains all the components needed to run an application. One component is the
Common Language Runtime (CLR). The CLR handles various tasks, such as compiling code to 1s and 0s (binary) for the computer to understand. The new
.NET 7 framework is also within the .NET Platform and contains shared libraries of code that developers use when developing applications. This helps developers by not have to write code from scratch. For example, if an application needs to read information from a text file, there is already a built-in class for this and there is no need to recreate it.
An additional benefit to using C# is its versatility. C# is a general purpose language, meaning it can be used to create many kinds of applications.
Source:
https://devblogs.microsoft.com/dotnet/wp-content/uploads/sites/10/2022/11/dotnet-platform2.png
Listed below are a few examples of apps that can be created using the C# language.
Console Applications: A console application is a text-based application that contains no graphical components, such as buttons or images. This book focuses on text-based applications because they easily demonstrate C# examples.
Websites: Dynamic websites can be built using C# and ASP.NET in Visual Studio.
Mobile Applications: Quickly create iOS and Android applications using C# and .NET MAUI in Visual Studio.
Games: Unity is a separate (free) software program used to design 2D, 3D, virtual, and mixed reality games. While the Unity Game Engine is used to design the game, the coding is still developed in Visual Studio with C#.
Computer Software: Software for Windows can be created using WPF, Windows Forms, or .NET MAUI.