TypeParameter

In computer programming languages, TypeParameter is a generic label used in generic programming to reference an unknown data type, data structure, or class.

TypeParameter is similar to a metasyntactic variable (e.g., foo and bar), but distinct.

The capitalisation varies according to programming language and programmer preference.

X, Y, Foo, Bar, Item, Thing are typical alternate labels.

Many programming languages are case-sensitive, making a consistent choice of labels important.