Get the error "the type parameter cannot be used with type arguments" when attempting to add a constraint such as where S : BaseClass<T<U>>
So I guess this is where factories come in. Otherwise I could just use Activator<T>.CreateInstance for all these nested parameter types, which C# doesn't support...
No comments:
Post a Comment