C# Generics

Generics allow you to write type-safe, reusable, and performant C# code. This course will teach you how to build generic classes, generic interfaces, and generic methods, and how to use them in your .NET applications.
Course info
Rating
(59)
Level
Beginner
Updated
Apr 13, 2021
Duration
3h 15m
Table of contents
Course Overview
Understanding the Need for Generics
Implementing Generic Classes
Working with Generic Interfaces
Creating Generic Methods and Delegates
Knowing the Special Cases with Generics
Description
Course info
Rating
(59)
Level
Beginner
Updated
Apr 13, 2021
Duration
3h 15m
Description

Generics are a powerful feature of the C# language, they allow you to write type-safe, reusable, and performant code. In this course, C# Generics, you’ll learn to build and use generic types in your .NET applications. First, you’ll explore the need for generics in C#. Next, you’ll discover how to build and use generic classes, interfaces, methods, and delegates. Finally, you’ll learn how generics behave in special cases, like with static members and mathematical operators. When you’re finished with this course, you’ll have the skills and knowledge of C# Generics needed to build and use your own generic types in your .NET applications.

About the author
About the author

Thomas is a well-known author, software developer, and speaker from Germany. He specializes in .NET, C#, TypeScript, XAML, and Azure.

More from the author
Uno Platform Fundamentals
Intermediate
2h 30m
Jul 29, 2021
More courses by Thomas Claudius Huber
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Thomas Claudius Huber, and welcome to my course, C# Generics. I am a professional software developer and I build applications with C# and .NET. C# generics are a powerful feature and they allow you to write type‑safe, reusable, and performant code. Some of the major topics that we will cover in this course include understanding the need for generics in C#, implementing generic glasses, creating generic interfaces, writing generic methods, and using generic delegates. By the end of this course, you will know how to use C# generics in your .NET applications to write type‑safe, reusable, and performant code. Before beginning the course, you should be familiar with the basics of the C# programming language, like classes, interfaces, and delegates. I hope you will join me on this journey to learn how to write type‑safe, reusable, and performant C# code with the C# Generics course, at Pluralsight.