Skip to main content
Version: 0.4

A Tour of G#

Get a feel for G# through small programs and focused explanations. Read in order for an introduction, or choose the chapter that answers your question.

The Tour is a reading guide with code you can run locally, not an online execution service. Start with installation and your first program if you want to try each example.

Chapters​

Chapter What you will learn 
1. Basics Variables, functions, primitive types, and printing values. 
2. Types and values Data models, classes, collections, and nullable values. 
3. Control flow Conditions, loops, nullable bindings, and pattern matching. 
4. Concurrency Structured scopes, async functions, and asynchronous sequences. 
5. .NET interop Imports, library types, LINQ, delegates, events, and native interop. 

Each chapter links to the language guide or reference when you need more detail. The examples follow the documentation version selected in the header.

Choose a different path​

Next: Tour: Basics.