C#
A statically typed, object-oriented programming language from Microsoft and the main language used to write .NET applications.
In more detail
C# code is compiled by Roslyn into intermediate language and runs on the .NET runtime. It is statically and nominally typed, supports async and await, generics, LINQ, records and pattern matching, and releases a new version alongside each .NET release.
Related terms
- .NET — Microsoft's free, open-source platform for building and running applications, made of a runtime, a large standard library and a toolchain.
- Roslyn — The open-source compiler for C# and Visual Basic, which turns source code into intermediate language inside an assembly.
- static typing — A language rule that every variable has one fixed type, known when the program is compiled, so type mistakes are caught before it runs.
- F# — A functional-first programming language that also compiles to intermediate language and runs on .NET.
- Visual Basic — An older Microsoft programming language, often shortened to VB, that also compiles to intermediate language and runs on .NET.
Taught in
- What is .NET? Runtime vs SDK, and LTS vs STS — Modern .NET Core, C# & Enterprise Microservices
- The C# Language: Types, Variables, and Flow Control — Modern .NET Core, C# & Enterprise Microservices
- Classes, Interfaces, and Object-Oriented C# — Modern .NET Core, C# & Enterprise Microservices
- Records, Pattern Matching, and Modern C# — Modern .NET Core, C# & Enterprise Microservices
- Manual Object Mapping — Modern .NET Core, C# & Enterprise Microservices
- Source-Generated Mapping with Mapperly — Modern .NET Core, C# & Enterprise Microservices