Type Parameters (Classes) C# with Example
Declaration: class MyGenericClass { // Do something with the type parameters. } Initialisation: var x = new MyGenericClass(); Usage (as the type of a parameter): void AnotherMethod(MyGenericClass arg) { ... }