Operators |
Top Previous Next |
What is translated > Operators Some of the names of Delphi operators are the same in C# as for example '>' and '>=', others are named differently as for example the assignment operator ':=' is '=' in C# and the equality operator '=' is '==' in C#. At the translation from Delphi to C# for most operators it suffices just to substitute the name of the operator. But there are two difficulties:
In C# two manners of use of the Delphi operators "and" and "or" have to be distinguished. The operator precedence in Delphi and C# is different. The in-operator has to be substituted in a special ways.
Also operator overloading has a different syntax.
|
This page belongs to the Delphi2C# Documentation |
Delphi2C# home Content |