Course

C# and .NET

Learn C# and .NET in 24 lessons: types, control flow, classes and properties, LINQ, async/await and file handling, then build and test a small console application.

  • 24 lessons
  • 5 modules
  • Beginner
  • 3 h 15 min
  1. Module 1

    C# Basics

    Install the .NET SDK, write your first console app, and get comfortable with variables, types and strings.

    6 lessons, about 46 min

    1. Install .NET and run a program 7 min
    2. Your first console program 7 min
    3. Variables, types and var 8 min
    4. Strings and text handling 8 min
    5. Operators and null handling 8 min
    6. Nullable reference types 8 min
  2. Module 2

    Control Flow and Methods

    Conditions, switch expressions, loops, arrays, and methods that return values.

    5 lessons, about 39 min

    1. Conditions and branching 7 min
    2. Switch statements and expressions 8 min
    3. Loops in C# 8 min
    4. Arrays and spans 8 min
    5. Methods and parameters 8 min
  3. Module 3

    Objects in C#

    Classes, constructors, properties, inheritance and interfaces u2014 the shape of everyday .NET code.

    5 lessons, about 40 min

    1. Classes and objects 8 min
    2. Constructors and records 8 min
    3. Properties and encapsulation 8 min
    4. Inheritance and polymorphism 8 min
    5. Interfaces and composition 8 min
  4. Module 4

    The .NET Library

    Collections, LINQ, exceptions, file handling, and async/await without the confusion.

    5 lessons, about 43 min

    1. Collections: List, Dictionary and friends 8 min
    2. LINQ: querying in C# 9 min
    3. Exceptions and error handling 9 min
    4. Files and paths 8 min
    5. async and await 9 min
  5. Module 5

    Build Something

    A console application, a first look at ASP.NET Core, a unit test, and a capstone project.

    3 lessons, about 27 min

    1. A console app with structure 8 min
    2. A minimal ASP.NET Core API 9 min
    3. Capstone: test it and ship it 10 min

Other tracks

Java

23 lessons · Beginner

NEW