C # operator overload

Will all .NET languages ​​support operator or C # overloading, and does managed C ++ support it?

+3
source share
2 answers

Not all languages ​​will support it, but many do. You also need to break support into 2 categories.

  • Allows the language to define overloaded operators
  • When using the language, other overloaded operators

VB.Net supports both options, and I believe that IronPython and IronRuby also work dynamically.

+2
source

- . ( , ). , .

+5

Source: https://habr.com/ru/post/1723386/


All Articles