Search⌘ K
AI Features

Course Overview

Discover the foundational elements of .NET 10 and C# 14 including core syntax, classes, inheritance, exception handling, and asynchronous programming. This lesson helps learners understand key programming concepts and prepare for practical application development within the .NET ecosystem.

We'll cover the following...

About the course

In this course, we cover the fundamentals of .NET 10, Microsoft’s open-source developer platform used for building cross-platform applications. We explore the features of the platform using C# 14, the primary language of the .NET ecosystem. This course focuses on mastering core aspects that serve as a foundation for further study rather than acting as a comprehensive reference manual.

To maintain clean code, we utilize modern features like top-level statements. These allow us to write programs without the traditional boilerplate of explicit classes or Main methods.

Here are some of the topics that we’ll discuss:

  • Core syntax of C#: Understanding the basic rules and structure of the language.

  • Variables and data types: Storing and manipulating different types of information.

  • Classes and structs: Building custom types and understanding value versus reference types.

  • Properties and indexers: Controlling access to data within your objects.

  • Methods: Defining reusable blocks of logic and using modern features like local functions.

  • Inheritance and polymorphism: Creating hierarchical relationships between types.

  • Interfaces: Defining contracts for behavior across different classes.

  • Exception handling: Managing runtime errors gracefully using try, catch, and finally.

  • Delegates and events: Implementing the publisher-subscriber pattern and functional callbacks.

  • Collection data structures: Organizing data using lists, dictionaries, stacks, and queues.

  • LINQ (Language Integrated Query): Querying and transforming data with a readable syntax.

  • Text, date, and time: Handling string manipulation, regular expressions, and modern structures like DateOnly and TimeOnly.

  • Multithreading and asynchronous programming: Improving application responsiveness with async and await.

  • Reflection: Inspecting code metadata at runtime.

  • Memory management: Understanding garbage collection and the disposal of unmanaged resources.

We also include hands-on coding exercises in most modules and provide two projects, an RPG Combat Engine and a Cash Flow Manager, to apply your skills in a practical context.

Prerequisites

This course is not an introduction to programming. We expect you to understand core programming concepts such as loops, conditionals, and variables. Although we demonstrate programming concepts through code examples, our primary focus remains on the specific implementation within .NET and C#.