Implicit .NETobject type
|
Implicit C#primitive type
|
Implicit ABLprimitive type
|
System.Boolean
|
bool
|
LOGICAL
|
System.Byte
|
byte
|
INTEGER
|
System.SByte
|
sbyte
|
INTEGER
|
System.DateTime
|
—
|
DATETIME
|
System.Decimal
|
decimal
|
DECIMAL
|
System.Int16
|
short
|
INTEGER
|
System.UInt16
|
ushort
|
INTEGER
|
System.Int32
|
int
|
INTEGER
|
System.UInt32
|
uint
|
INT64
|
System.Int64
|
long
|
INT64
|
System.UInt64
|
ulong
|
DECIMAL
|
System.Double
|
double
|
DECIMAL
|
System.Single
|
float
|
DECIMAL
|
System.Char
|
char
|
CHARACTER
|
System.String
|
string
|
CHARACTER LONGCHAR
|
.NET array type
|
Corresponding ABL array type
|
System.Drawing.Point[]
|
System.Drawing.Point EXTENT
|
System.Windows.Forms.Button[]
|
System.Windows.Forms.Button EXTENT
|
System.Int32[]
|
INTEGER EXTENT
|
System.Byte[]
|
INTEGER EXTENT
|
ABLprimitive type
|
Default match (.NET object type)
|
Default match (C# primitive type)
|
CHARACTER
|
System.String
|
string
|
DATETIME
|
System.DateTime
|
—
|
DECIMAL
|
ystem.Decimal
|
decimal
|
INT64
|
System.Int64
|
long
|
INTEGER
|
System.Int32
|
int
|
LOGICAL
|
System.Boolean
|
bool
|
Operation description
|
Operation using Type of data element
|
Assign an INTEGER value to a System.Int16 data element (creating a new System.Int16 object in the process)
|
System.Int16 = INTEGER.
|
Assign a System.Int16 value to an INTEGER data element
|
INTEGER = System.Int16.
|
Pass an INTEGER value to the System.Int16 parameter of a .NET method (creating a new System.Int16 object in the process)
|
Method( INPUT INTEGER).
|
Assign the elements of a DECIMAL array to a System.Double[] array data element (creating a new System.Double[] array object that contains all the element values of the DECIMAL array source)
|
System.Double[] = DECIMAL EXTENT.
|
Assign the elements of a System.Double[] array object to a DECIMAL array of the same extent
|
DECIMAL EXTENT = System.Double[].
|
Pass a DECIMAL array value to the System.Double[] parameter of a .NET method (creating a new System.Double[] array object containing all the element values of the DECIMAL array argument)
|
Method( OUTPUT DECIMAL EXTENT ).
|