C# Fundamentals - Second Edition

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 (8.0) was released in September 2019. 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 .NET Standard Library is also within the .NET Platform and contains shared libraries of code that developers use when developing applications. This helps developers 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. Built on top of the .NET Standard Library are collections of app models. These are libraries designed for a specific type of application, such as computer software, websites, or phone apps. The three major app models are: .NET framework, .NET Core, and Xamarin.

Listed below are a few examples of apps that can be created using the C# language.