why C# not allow operator overloading?

前端 未结 5 1388
醉酒成梦
醉酒成梦 2021-01-17 06:43

why c# not allowed operator overloading while C++ do?

I got this error, when trying to overload.

Overloadable binary operator expected

5条回答
提交回复
热议问题