嗨,我想上课:
class Matrix <T> where T : // I don't know what to write here { T[][] elements; }
我希望T可以通过+和*运算符进行加法和乘法运算
c# generics operator-keyword generic-constraints
c# ×1
generic-constraints ×1
generics ×1
operator-keyword ×1