Why, when inheriting from generics, all restrictions are not inherited, and as a result, we have to drag the constraint of inheritance.
Is there some kind of sacred meaning that Microsoft didn’t give this opportunity to? It seems that without duplicating the restrictions, the compiler will swear => there is no possibility to put alternative restrictions on the levels above.
class Generic1<T> where T : class { } class Generic2<T> : Generic1<T> where T : class { }