So in Listing 11, the specialized version for arrays would be derived from true-type, while the generic version would come from false-type.
所以在 清单 11 中,针对数组的特殊化版本将派生自 true-type,而泛型版本将派生自 false-type。
A contravariant delegate can be assigned another delegate of the same type, but with a less derived generic type parameter.
可以向逆变委托分配同一类型的其他委托,但需使用派生程度较小的泛型类型参数。
A covariant delegate can be assigned another delegate of the same type, but with a more derived generic type parameter.
可以向协变委托分配同一类型的其他委托,但需使用派生程度较大的泛型类型参数。
应用推荐