I am trying to implement a generic operator like so:
class Foo { public static T operator +(T a, T b) { // Do something with a and b t
You can just define operator in a generic class Foo.
You can also create real generic operators, but C# compiler won't use them.
[System.Runtime.CompilerServices.SpecialName] public static T op_Addition(T a, T b) { ... }