Skip to main content

Reference

Find the detail you need.

Look up a language rule, a diagnostic, or an interop boundary. These references describe the released language and its known limitations.

Documentation for G# 0.4.591. Looking for Next?

Language and runtime

Concept quick reference
Quick answers, small examples, and important boundaries for nullable values, data, concurrency, and interop.
Language specification
Grammar, types, expressions, statements, and the formal language rules.
.NET interop
CLR types, generics, delegates, events, native calls, and their boundaries.
Standard library
The .NET foundations and G# runtime support available to your programs.

Understand behavior

Diagnostics
Search a GSxxxx code and understand its cause and remedy.
Feature support
Check implemented behavior and known limits before choosing an approach.
Common questions
Quick answers about the language, runtime, tooling, and compatibility.

Frequently used concepts

Types and values
Data types, nullable values, collections, and how they relate.
Concurrency and async
Scope lifetimes, async functions, tasks, and sequences.
Go/G# pattern comparison
Ten concrete contracts, checked implementations, and honest benchmark context.
Errors and cleanup
Exceptions, using, and defer for explicit failure and resource management.