Skip to content

C# fundamentals

↑

This is both a structured learning path and a standalone reference. Start with variables or jump directly to a question, such as what public static int means or when to choose private over protected.

Each lesson includes a concise definition, when and why to use the feature, practical C# snippets, common mistakes and a small exercise with a revealable answer. The examples primarily target modern .NET console programs; Unity-specific differences are called out.