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# 9 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.
Generics are a powerful feature of the C# language, they allow you to write type-safe, reusable, and performant code. In this course, C# 9 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.