C# is a strongly typed language, so almost every line you write depends on knowing what kind of data you're holding and what you're allowed to do with it. Get the basics right now and the compiler becomes a helpful reviewer instead of a source of confusing errors.
This module starts with a fast tour of the fundamentals: variables, constants, type conversion, and operators. It then goes deeper on the most important distinction in the type system — value types vs. reference types and how they behave in memory — before looking at var vs. dynamic, and finishing with the string methods you'll reach for in nearly every program.
Watch the lessons in order, then continue on to Control Flow & Methods.
Programming with Mosh walks through your first C# program, then variables and constants, scope, type conversion, and operators, a broad foundation for everything else in this module.
Hubert Mijalski explains how C# manages memory, the difference between value types and reference types, what happens when you pass each kind to a method, and how ref and out change that.
Tim Corey compares var, which is typed at compile time, with dynamic, which is resolved at runtime, and shows why dynamic should be used sparingly.
Andrew goes through the frequently used methods of the String class, the everyday toolkit for searching, changing, and cleaning up text.