C# logo

C# Notes

14 chapters · Beginner to Advanced · Always free

C# notes are coming soon
These chapter notes are actively being written. Chapter outlines and topics are listed below. Subscribe to be notified when each chapter drops.
Enrol in the Full Game Development Course
Structured curriculum · Projects · All levels covered
View Course →

Course Outline

14 chapters planned. Full lesson notes being written now.

1

Introduction to C#

What C# is, how .NET works, and why it is used in enterprise apps, games and web.

C# and .NETCLRHello WorldConsole.WriteLineCompilation
Coming Soon
2

Variables & Types

Value types, reference types, var keyword, nullable types and type conversion.

int/float/double/string/boolvardynamicnullable?casting
Coming Soon
3

Operators & Expressions

Arithmetic, comparison, logical, null-coalescing and pattern matching operators.

ArithmeticRelationalLogical???.is/asPattern matching
Coming Soon
4

Control Flow

if/else, switch expressions, loops, break/continue and goto.

if/elseswitch expressionfor/foreach/whilebreak/continue
Coming Soon
5

Methods & Parameters

Method signatures, optional parameters, named arguments, ref/out and expression bodies.

Method syntaxOptionalref/outExpression-bodiedOverloading
Coming Soon
6

Object-Oriented Programming

Classes, objects, fields, properties, constructors, and encapsulation principles.

classPropertiesConstructorAccess modifiersthisobject
Coming Soon
7

Inheritance & Polymorphism

Base classes, derived classes, virtual/override, abstract classes and interfaces.

basevirtual/overrideabstractinterfacesealed
Coming Soon
8

Generics

Generic classes, methods, constraints, the standard generic collections and variance.

List<T>Dictionary<K,V>where T :IEnumerable<T>Covariance
Coming Soon
9

Collections & LINQ

Working with arrays, lists, dictionaries, sets and querying with LINQ.

ArraysList/Dictionary/HashSetLINQ: Where/Select/GroupBy/OrderBy
Coming Soon
10

Exception Handling

try/catch/finally, custom exceptions, using statements and exception filters.

try/catch/finallythrowCustom exceptionusingwhen
Coming Soon
11

Delegates, Events & Lambda

Delegates, multicast delegates, Func/Action, events and lambda expressions.

delegateFunc<>Action<>eventLambdaAnonymous methods
Coming Soon
12

Async & Await

Task-based asynchronous programming, async/await, ConfigureAwait and CancellationToken.

Task/Task<T>async/awaitConfigureAwaitValueTaskCancellationToken
Coming Soon
13

C# for Unity

MonoBehaviour lifecycle, Start/Update, GetComponent, Coroutines and Instantiate.

MonoBehaviourStart/UpdateGetComponentCoroutineInstantiate
Coming Soon
14

Modern C# Features

Records, init properties, pattern matching, global usings and required members.

recordinitpattern matchingglobal usingrequiredfile-scoped namespace
Coming Soon
Ready to go deeper?
The full C# notes are coming soon. In the meantime, try our other complete courses or project libraries.
Python Notes → JavaScript Notes →