C# is Microsoft's modern language powering enterprise applications, Azure cloud services, and cross-platform .NET apps.
Start with Lesson 1Each lesson includes a full explanation, code examples, a practice task, common mistakes, and a mini quiz.
C# is Microsoft's modern language powering enterprise apps, Azure cloud, Unity games, and .NET APIs....
Lesson 1C# runs on .NET — understand it to choose the right project type....
Lesson 2C# syntax is clean — PascalCase methods, string interpolation....
Lesson 3Explicit typing or var — C# infers when obvious....
Lesson 4C# has decimal for financial precision — a key advantage....
Lesson 5C# adds null-coalescing ?? and null-conditional ?....
Lesson 6C# adds modern switch expressions....
Lesson 7C# foreach is idiomatic for collections....
Lesson 8C# arrays with LINQ extensions....
Lesson 9Expression bodies and optional parameters make C# methods elegant....
Lesson 10C# object initialiser syntax makes creating instances concise....
Lesson 11Properties combine control with field-like syntax — the C# standard....
Lesson 12C# constructors like Java's, plus chaining with this()....
Lesson 13Access modifiers and properties protect internal state....
Lesson 14C# uses : and base; methods must be virtual to override....
Lesson 15Override virtual methods; call via parent type for runtime dispatch....
Lesson 16Abstract classes define templates — identical to Java's....
Lesson 17C# interface names conventionally start with I....
Lesson 18C# adds exception filters (when) to try/catch/finally....
Lesson 19List
Composable, readable queries on any collection....
Lesson 21C# file IO with File class and StreamWriter....
Lesson 22ADO.NET and Entity Framework Core — two levels of C# database access....
Lesson 23