Ah wait there's no way to do dependent implementations right? You can't say implement X if T is X?
Ah wait there's no way to do dependent implementations right? You can't say implement X if T is X?
if (T is ISomeInterface)...? Similar to 2.X?IMultiplicativeIdentity.MultiplicativeIdentity then you cant without reflection unless thats a required generic constraint% operator over INumberBaseZero and One are defined in INumberBase and the higher level interfaces use AdditiveIdentity and MultiplicativeIdentity
Vector3<DateTime> doesn't make senseVector3<T> implementing INumber<T>, vectors aren't numbersVector3<T> and a Tuple3<T>if (T is ISomeInterface)...IMultiplicativeIdentity.MultiplicativeIdentity%ZeroOneAdditiveIdentityMultiplicativeIdentityVector3<DateTime>Vector3<T>Vector3<T>INumber<T>Tuple3<T>