+ 1
Can we implement Operator Overloading using generics in c#??
3 Antworten
+ 1
This worked only for integer values,but not for strings.
0
Yes you can!!
But I can't able to give you information about this.
Might this helps you !!
https://stackoverflow.com/q/14020486/9973584
0
Yes it can. A generic type does not have constraint regarding overloading.
https://www.interviewsansar.com/2015/05/24/can-we-overload-a-generic-method/