LANGUAGE
Generic type declaration
Declares a class parameterized by a type. Construct with a supplied type argument.
Formal Syntax & Structure
csharp syntaxcsharp
class Box<T> { }Working Example
Example Snippetcsharp
var box = new Box<int>();class Box<T> { }