Yes, in most cases, the compiler can output a type parameter. (One, moreover, when your type is a lambda expression, if I remember correctly.)
It is generally considered good practice to omit common parameters when they can be inferred. In fact, I would say that it improves the readability of a certain amount (refining them is often quite redundant).
source
share