Early previewThis guide is in development. Items tagged verify are still being checked against official docs.
nebx Learn
GitHub
Menu
C#

C#

A productive, strongly typed language for the whole .NET platform.

Paradigm
OOP, functional features
Typing
Static, strong, nullable-aware
Memory
Generational GC
Runs
.NET runtime (JIT) or Native AOT
Concurrency
Tasks, async/await, channels

C# overview

A productive, strongly typed language for the whole .NET platform. Every language page follows the same structure, so you can jump between languages and compare.

Hello world

hello.cs
// Program.cs with top-level statements
Console.WriteLine("Hello, patterns!");

Source repository

The SOLID single-responsibility example in this guide comes from gelnomo/training-algorithms-c_sharp (SOLID/SingleResponsibilityPrinciple.cs). The other sections were written for nebx Learn.

Saved in this browser only. Part of Clean code foundations (0/5).