Snippet: generic type constraint

property value
IDE VS Code
Language C#
Title generic type constraint
Shortcut where
Description generic type constraint

Placeholders

Identifier Tooltip Default Value
_typeParameter Generic type parameter T
constraint Constraint class

Code

where T : class