Modern, familiar syntax
Packages and imports, func declarations, sealed classes and discriminated enums, arrow lambdas, if let nullable handling, and pattern-based switch. Recognisable from Go, Kotlin, Swift, and TypeScript.
Runs on .NET
G# compiles straight to managed assemblies and runs on the modern .NET runtime. Import any CLR type, call its methods, and ship a normal executable.
Concurrency built in
Structured concurrency with scope, async/await over Task[T], and async sequence[T] async streams. Channels and goroutines ship as an opt-in extension.
Precise numeric types
Width-bearing primitives like int32, uint64, and float64 make the size of every value explicit — no guessing.
Real tooling
A command-line compiler (gsc), an MSBuild SDK, a VS Code extension, a language server, and Portable PDB debugging.