What is <T> in Cast <T> () or List <T> in C #

I know that this is probably a hoax, but I cannot remember for the rest of my life what this name is or even how to look for it.

I know T will be the type you are producing to, but what the technical name is.

Edit Here is a link for more information on Generics

Why do C # and VB have Generics? What benefits do they provide? Generics, FTW

+2


a source to share


2 answers


General type parameter I guess.



+11


a source


I always thought it was "T" for the template.



Generics, I believe, is a C # implementation of C ++ templates.

0


a source







All Articles