go2cs features

What the converter does for you, then how much of Go it covers, then real converted files to judge it by. For where it falls short, see Limitations.

What the converter does

Go language coverage

go2cs converts the full Go language surface except a generic type alias whose target is an anonymous struct or interface type (type A[T any] = struct{…}), which it reports and does not yet convert.

Types & values

Functions & methods

Concurrency

Composition & polymorphism

Control flow & packaging

See ConversionStrategies.md for an example-driven tour of how each construct maps to C# (with ConversionStrategies-Reference/ for the full detail).

Real standard-library conversions, side by side

The main page pairs converted standard-library files with their Go source, from simple to complex: Real standard-library conversions, side by side.