C#
C# is a strongly-typed, object-oriented language that runs on .NET. Used for web APIs (ASP.NET), desktop apps (WPF, MAUI), games (Unity), and cloud services.
Overview
- Runtime: .NET 8+ (current LTS)
- Install: dotnet.microsoft.com/download
- Create project:
dotnet new console -n MyApp - Run:
dotnet run - Package manager: NuGet (
dotnet add package <name>)
Contents
- Concepts - Language fundamentals
- Type System - Value types, reference types, nullability
- Classes and OOP - Inheritance, interfaces, records
- Quickstart - Get started
- Hello World - Minimal .NET project
- Deep Dives - Advanced patterns
- Notes - Tips and gotchas