234.
How do you specify a constraint for the type to be used in a generic class?
View Description
class myCLass where T: IMyInterface { } this will ensure that the type used to fill the placeholder should be derived from IMyInterface. Fails to compile if the type is not derived from that interface