Ranges |
Top Previous Next |
What is translated > Types > Ranges
Numeric ranges don't exist in C#. If a variable has a range type Delphi2C# deduces an underlying type of the range - mostly integer - and writes the original limits into the translated code as a comment:
type TYearType = 1..12;
var year : TYearType;
->
private static int /*1..12*/ year = 0;
|
This page belongs to the Delphi2C# Documentation |
Delphi2C# home Content |