C#
Microsoft's language for the modern world
100% free · no signup to
read 6 chapters Programming language
Created
2000 by Microsoft (Anders Hejlsberg)
Type
Object-oriented, statically typed
Runs on
.NET (Windows, macOS, Linux)
Current version
C# 12 (2023)
Powers
Unity games, ASP.NET, Azure, MAUI
Used by
Microsoft, Unity, Stack Overflow
File extension
.cs
Best for
Enterprise apps, games (Unity), cloud
What is C#?
C# (pronounced "C sharp") is a modern, object-oriented language created by Microsoft. It runs on .NET and is used for web apps (ASP.NET), desktop apps, mobile apps (.NET MAUI), game development (Unity), and cloud services (Azure).
Why C#?
C# combines the power of Java with modern language features like LINQ, pattern matching, and async/await. With .NET, it's fully cross-platform.
| Feature | C# | Java | Kotlin |
|---|---|---|---|
| Language features | Modern (12+) | Catching up | Modern |
| Game dev | Unity (dominant) | Limited | Android only |
| Web framework | ASP.NET | Spring | Ktor |
| Cross-platform | Yes (.NET 6+) | Yes | Yes (JVM) |
What you'll learn
| Chapter | What you'll know |
|---|---|
| Introduction | What C# is, how to run it |
| Control Flow | if/else, switch, loops, pattern matching |
| Methods | Parameters, overloads, async |
| Classes | OOP, inheritance, records |
| Collections | List, Dictionary, Queue, Stack |
| LINQ | Query syntax, fluent API |
Start with introduction.