Skip to content

Glossary: C# Beyond the Basics

generic

Also written: generics, generic method, generic class

A method or class with a type parameter, so it works with any type while staying type-checked, such as `Catalog<T>` or `Last<T>`.

Where the book teaches it

Related terms

type parameterconstraintIEnumerable<T>