C#
Microsoft's main programming language, used for business apps, web servers and games.
C# (pronounced "C sharp") is a programming language created by Microsoft around 2000, designed by Anders Hejlsberg. It runs on .NET, Microsoft's platform for building and running programs: your C# code is compiled into an intermediate format, and the .NET runtime turns it into machine instructions while the program runs, a bit like Java and its JVM.
In style it sits close to Java: you declare types, organize code in classes, and the compiler catches many mistakes before the program runs. Over the years it added features that made it pleasant to write, like a built-in way to query lists of data and async/await for doing slow work without freezing the app, an idea many other languages later copied.
For a long time C# was tied to Windows. That changed around 2016, when Microsoft released an open-source, cross-platform version of .NET, so C# now runs on Linux servers and Macs too. You find it in company back-office systems, web backends built with ASP.NET, Windows desktop apps and, notably, video games: Unity, one of the most popular game engines, uses C# for game logic.
Keep in mind
- Created by Microsoft around 2000; runs on the .NET platform.
- Statically typed and object-oriented, similar in spirit to Java.
- Open source and cross-platform: Windows, Linux and Mac.
- The language of game logic in the Unity engine.