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.
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.
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.