C#

Microsoft's modern, type-safe language for .NET — used for web APIs, desktop, cloud services and Unity games.

C# is a statically typed, object-oriented language with strong functional features such as LINQ, pattern matching and records. It runs on the open-source, cross-platform .NET runtime and powers ASP.NET Core services, Windows and cross-platform desktop apps, and Unity game scripting. The language evolves yearly alongside .NET releases.

Type
Language
Category
Languages
Maintainer
Microsoft and the .NET Foundation
First released
2000
License
Open source (MIT)
Pricing
Open source — The Roslyn compiler and .NET runtime are MIT-licensed.
Level
Intermediate
Technologies
csharp, dotnet
GitHub stars
12,745
Last verified
26 Nov 2026

What C# is used for

  • Web APIs with ASP.NET Core
  • Enterprise services
  • Unity game development
  • Desktop and mobile apps with .NET MAUI

Strengths

  • Productive, expressive syntax
  • Excellent performance on modern .NET
  • First-class tooling in Visual Studio and Rider
  • Cross-platform runtime

Limitations

  • Ecosystem still leans toward Microsoft tooling
  • Some legacy .NET Framework apps are Windows-only
  • Language surface has grown large

C# alternatives

How it relates to other tools

Built with the same technologies

Learn C#

Official links

Sources

Explore