C# Notes
14 chapters · Beginner to Advanced · Always free
Course Outline
14 chapters planned. Full lesson notes being written now.
Introduction to C#
What C# is, how .NET works, and why it is used in enterprise apps, games and web.
Variables & Types
Value types, reference types, var keyword, nullable types and type conversion.
Operators & Expressions
Arithmetic, comparison, logical, null-coalescing and pattern matching operators.
Control Flow
if/else, switch expressions, loops, break/continue and goto.
Methods & Parameters
Method signatures, optional parameters, named arguments, ref/out and expression bodies.
Object-Oriented Programming
Classes, objects, fields, properties, constructors, and encapsulation principles.
Inheritance & Polymorphism
Base classes, derived classes, virtual/override, abstract classes and interfaces.
Generics
Generic classes, methods, constraints, the standard generic collections and variance.
Collections & LINQ
Working with arrays, lists, dictionaries, sets and querying with LINQ.
Exception Handling
try/catch/finally, custom exceptions, using statements and exception filters.
Delegates, Events & Lambda
Delegates, multicast delegates, Func/Action, events and lambda expressions.
Async & Await
Task-based asynchronous programming, async/await, ConfigureAwait and CancellationToken.
C# for Unity
MonoBehaviour lifecycle, Start/Update, GetComponent, Coroutines and Instantiate.
Modern C# Features
Records, init properties, pattern matching, global usings and required members.