Operator overloading is a feature of C++, which has ( unfortunately or fortunately [1] ) been removed from Java. What you can do with operator overloading can be performed with common methods “ in fact you define an operator overload using a method itself. Hence, I will not classify operator overloading as an important or essential feature of C#, but rather one which gives good developers more choice and flexibility.
|