Difference between T and {T} in where clause

For a single type parameter, there is none - it’s just a matter of convenience of not writing them for a single parameter. Curly braces are only required for multiple type parameters, otherwise there’s a parsing ambiguity.

1 Like