Learn G#
Start small. Build understanding.
Find the right way into G#: a first program, a guided tour, or a bridge from the language you already know.
Documentation for G# 0.4.591. Looking for Next?
Your first steps
- 01
Install G#
Set up the published tools and create a project with the .NET SDK.
- 02
Hello, G#
Run a complete program, understand each line, and make it your own.
- 03
Build Trail
Put data classes, nullable values, channels, and .NET libraries into one useful application.
- 04
Inspect and debug
Explore the running project and inspect values in your editor.
Bring your experience
For C# developers
Familiar libraries, different conventions. Compare the concepts side by side.
Read guideFor Go developers
Get oriented to .NET, nullable types, and the CLR exception model.
Read guideFor Kotlin developers
Familiar data and nullable concepts, a new runtime. Learn where the similarities stop.
Read guideFor Swift developers
Connect optionals and value types to .NET, and understand lifetime and concurrency differences.
Read guideWhat is G#?
Understand the language, its goals, and where it fits.
Read guidePut it into practice
A Tour of G#
Explore the language one concept at a time, alongside your project.
Read guideTen Go/G# concurrency patterns
Read runnable pairs, compare correctness and usability, and inspect separately sourced workflow measurements.
Read guideWrite idiomatic G#
Learn the conventions that make code clear and predictable.
Read guideProjects and packages
Organize source files, reference libraries, and build with MSBuild.
Read guide