MODULE 4 · 104 lessons · 104 challenges

C# and .NET

Learn C# from the ground up: the language, the .NET runtime, and how to write, structure, and run real programs. This module covers the fundamentals through to modern C# features and a capstone project.

104 lessons 104 challenges Module badge on completion

All lessons in this module

1.1 Understanding C# and .NET

1. Introduction to C# Quiz Challenge

1.2 Setting Up the Development Environment

1. Introduction to C# Quiz Challenge

1.3 Writing Your First C# Program

1. Introduction to C# Quiz Challenge

1.4 Running Your Program

1. Introduction to C# Quiz Challenge

1.5 Understanding Basic Syntax

1. Introduction to C# Quiz Challenge

1.6 Basic Syntax and Structure

1. Introduction to C# Quiz Challenge

1.X Chapter Exercise

1. Introduction to C# Quiz Challenge

2.1 Variables and Constants

2. Variables, Data Types, and Operators Quiz Challenge

2.2 Data Types

2. Variables, Data Types, and Operators Quiz Challenge

2.3 Type Conversion

2. Variables, Data Types, and Operators Quiz Challenge

2.4 Operators and Expressions

2. Variables, Data Types, and Operators Quiz Challenge

2.5 Nullables and Dynamics

2. Variables, Data Types, and Operators Quiz Challenge

2.X Chapter Exercise

2. Variables, Data Types, and Operators Quiz Challenge

3.1 Conditional Statements

3. Control Flow and Exception Handling Quiz Challenge

3.2 Looping Constructs

3. Control Flow and Exception Handling Quiz Challenge

3.3 Exception Handling

3. Control Flow and Exception Handling Quiz Challenge

3.X Chapter Exercise

3. Control Flow and Exception Handling Quiz Challenge

4.1 What is a Method?

4. Functions and Methods Quiz Challenge

4.2 Defining and Calling Methods

4. Functions and Methods Quiz Challenge

4.3 Methods with Parameters

4. Functions and Methods Quiz Challenge

4.4 Methods with Return Values

4. Functions and Methods Quiz Challenge

4.5 Method Overloading

4. Functions and Methods Quiz Challenge

4.6 Optional and Named Parameters

4. Functions and Methods Quiz Challenge

4.7 Lambda Expressions

4. Functions and Methods Quiz Challenge

4.X Chapter Exercise

4. Functions and Methods Quiz Challenge

5.1 Classes and Objects

5. Object-Oriented Programming Quiz Challenge

5.2 Properties in Depth

5. Object-Oriented Programming Quiz Challenge

5.3 Constructors

5. Object-Oriented Programming Quiz Challenge

5.4 Encapsulation

5. Object-Oriented Programming Quiz Challenge

5.5 Inheritance

5. Object-Oriented Programming Quiz Challenge

5.6 Polymorphism

5. Object-Oriented Programming Quiz Challenge

5.7 Interfaces

5. Object-Oriented Programming Quiz Challenge

5.8 Abstract Classes

5. Object-Oriented Programming Quiz Challenge

5.9 Records - Value-Oriented Types

5. Object-Oriented Programming Quiz Challenge

5.10 Sealed and Static Classes

5. Object-Oriented Programming Quiz Challenge

5.X Chapter Exercise

5. Object-Oriented Programming Quiz Challenge

6.1 Collections in C#

6. Collections and Generics Quiz Challenge

6.2 Generics

6. Collections and Generics Quiz Challenge

6.X Chapter Exercise

6. Collections and Generics Quiz Challenge

7.1 Introduction to LINQ

7. LINQ and Lambda Expressions Quiz Challenge

7.2 LINQ Query Syntax

7. LINQ and Lambda Expressions Quiz Challenge

7.3 LINQ Method Syntax

7. LINQ and Lambda Expressions Quiz Challenge

7.4 Common LINQ Operations

7. LINQ and Lambda Expressions Quiz Challenge

7.5 Lambda Expressions

7. LINQ and Lambda Expressions Quiz Challenge

8.1 What is Asynchronous Programming?

8. Asynchronous Programming Quiz Challenge

8.2 Async and Await in C#

8. Asynchronous Programming Quiz Challenge

8.3 Working with the Task Parallel Library (TPL)

8. Asynchronous Programming Quiz Challenge

8.4 Handling Async Exceptions

8. Asynchronous Programming Quiz Challenge

8.5 Best Practices for Async Programming

8. Asynchronous Programming Quiz Challenge

9.1 File and Directory Operations

9. File I/O and Serialization Quiz Challenge

9.2 Reading and Writing Files

9. File I/O and Serialization Quiz Challenge

9.3 Serialization and Deserialization

9. File I/O and Serialization Quiz Challenge

9.X Chapter Exercise

9. File I/O and Serialization Quiz Challenge

10.1 Memory Allocation

10. Memory Management and Garbage Collection Quiz Challenge

10.2 Garbage Collection

10. Memory Management and Garbage Collection Quiz Challenge

10.3 Forcing Garbage Collection

10. Memory Management and Garbage Collection Quiz Challenge

10.4 Resource Management

10. Memory Management and Garbage Collection Quiz Challenge

10.5 Common Memory Issues

10. Memory Management and Garbage Collection Quiz Challenge

10.X Chapter Exercise

10. Memory Management and Garbage Collection Quiz Challenge

11.1 Debugging

11. Debugging and Unit Testing Quiz Challenge

11.2 Unit Testing

11. Debugging and Unit Testing Quiz Challenge

11.3 Mocking

11. Debugging and Unit Testing Quiz Challenge

11.4 Test-Driven Development (TDD)

11. Debugging and Unit Testing Quiz Challenge

11.X Chapter Exercise

11. Debugging and Unit Testing Quiz Challenge

12.1 Database Connectivity Basics

12. Working with Databases Quiz Challenge

12.2 ADO.NET Basics

12. Working with Databases Quiz Challenge

12.3 Entity Framework Core

12. Working with Databases Quiz Challenge

12.4 Migrations and Seeding

12. Working with Databases Quiz Challenge

12.X Chapter Exercise

12. Working with Databases Quiz Challenge

13.1 Introduction to ASP.NET Core

13. Web Development with ASP.NET Core Quiz Challenge

13.2 ASP.NET Core MVC

13. Web Development with ASP.NET Core Quiz Challenge

13.3 Building RESTful APIs

13. Web Development with ASP.NET Core Quiz Challenge

13.4 Middleware

13. Web Development with ASP.NET Core Quiz Challenge

13.5 Dependency Injection

13. Web Development with ASP.NET Core Quiz Challenge

13.X Chapter Exercise

13. Web Development with ASP.NET Core Quiz Challenge

14.1 .NET MAUI - Cross-Platform Native UI

14. Windows and Cross-Platform Desktop Applications Quiz Challenge

14.2 WinUI 3 - Modern Windows-Only

14. Windows and Cross-Platform Desktop Applications Quiz Challenge

14.3 Avalonia - Cross-Platform Open Source

14. Windows and Cross-Platform Desktop Applications Quiz Challenge

14.4 WPF - Windows-Only, Mature

14. Windows and Cross-Platform Desktop Applications Quiz Challenge

14.5 WinForms - The Veteran

14. Windows and Cross-Platform Desktop Applications Quiz Challenge

14.6 MVVM Across the Frameworks

14. Windows and Cross-Platform Desktop Applications Quiz Challenge

14.X Chapter Exercise

14. Windows and Cross-Platform Desktop Applications Quiz Challenge

15.1 Reflection and Attributes

15. Advanced Topics Quiz Challenge

15.2 Dynamic Language Runtime (DLR)

15. Advanced Topics Quiz Challenge

15.3 Unsafe Code and Pointers

15. Advanced Topics Quiz Challenge

15.4 Best Practices and Advanced Techniques

15. Advanced Topics Quiz Challenge

16.1 What are Design Patterns?

16. Design Patterns and Best Practices Quiz Challenge

16.2 Common Design Patterns

16. Design Patterns and Best Practices Quiz Challenge

16.3 SOLID Principles

16. Design Patterns and Best Practices Quiz Challenge

16.4 Best Practices

16. Design Patterns and Best Practices Quiz Challenge

17.1 Top-Level Statements (C# 9)

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.2 File-Scoped Namespaces (C# 10)

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.3 Global using Directives (C# 10)

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.4 Records (C# 9)

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.5 init-only Setters and required Members

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.6 Pattern Matching and Switch Expressions

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.7 Nullable Reference Types

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.8 Primary Constructors (C# 12)

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.9 Collection Expressions (C# 12)

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.10 Raw String Literals (C# 11)

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.11 Async Streams (C# 8)

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.12 Generic Math (C# 11)

17. Modern C# Features (C# 9 and later) Quiz Challenge

17.X Chapter Exercise

17. Modern C# Features (C# 9 and later) Quiz Challenge

Library Management System

Capstone: Library Management System Quiz Challenge