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 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# 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.
In this course, you will learn what the need for generics is and how to implement generic classes, how to create generic interfaces, write generic methods, and use generic delegates.
The only prerequisite for this course is a basic understanding of the C# programming language.
Generics are the general form, not specific. Generics allow you to define the specification of the data type of programming elements in a class or method until it is actually used in the program.
.NET is a software framework for building different types of applications. In this course, .NET is the tool that lets you build and run C# programs.
This C# tutorial is for anyone who wants to learn how to build and use generic types in a .NET application.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.