Curriculum

All 23 Lessons

Each lesson includes a full explanation, code examples, a practice task, common mistakes, and a mini quiz.

01

Introduction to C#

C# is Microsoft's modern language powering enterprise apps, Azure cloud, Unity games, and .NET APIs....

Lesson 1
02

.NET Overview

C# runs on .NET — understand it to choose the right project type....

Lesson 2
03

C# Syntax

C# syntax is clean — PascalCase methods, string interpolation....

Lesson 3
04

Variables

Explicit typing or var — C# infers when obvious....

Lesson 4
05

Data Types

C# has decimal for financial precision — a key advantage....

Lesson 5
06

Operators

C# adds null-coalescing ?? and null-conditional ?....

Lesson 6
07

Conditional Statements

C# adds modern switch expressions....

Lesson 7
08

Loops

C# foreach is idiomatic for collections....

Lesson 8
09

Arrays

C# arrays with LINQ extensions....

Lesson 9
10

Methods

Expression bodies and optional parameters make C# methods elegant....

Lesson 10
11

Classes and Objects

C# object initialiser syntax makes creating instances concise....

Lesson 11
12

Properties

Properties combine control with field-like syntax — the C# standard....

Lesson 12
13

Constructors

C# constructors like Java's, plus chaining with this()....

Lesson 13
14

Encapsulation

Access modifiers and properties protect internal state....

Lesson 14
15

Inheritance

C# uses : and base; methods must be virtual to override....

Lesson 15
16

Polymorphism

Override virtual methods; call via parent type for runtime dispatch....

Lesson 16
17

Abstraction

Abstract classes define templates — identical to Java's....

Lesson 17
18

Interfaces

C# interface names conventionally start with I....

Lesson 18
19

Exception Handling

C# adds exception filters (when) to try/catch/finally....

Lesson 19
20

Collections

List, Dictionary, HashSet....

Lesson 20
21

LINQ

Composable, readable queries on any collection....

Lesson 21
22

File Handling

C# file IO with File class and StreamWriter....

Lesson 22
23

Database Concepts

ADO.NET and Entity Framework Core — two levels of C# database access....

Lesson 23