Pascal <-> C# | 16-bitové celé číslo
Pascal  Použitá kľúčové slová: integer 
integer
Popis
integerPríklady
Pascal
Možné požitie 16-bitové celé číslo:xmin := -32768; ymax := 32767;
x:= -1234;        { x = -1234}
y:= -(1500 mod 60);{ y = -25}
y := integer((x * y));    { z = 30850}.
C#  Použitá kľúčové slová: short 
short
Popis
 shortPríklady
C#
Možné požitie 16-bitové celé číslo:xmin = -32768; ymax = 32767;
short x= -1234;        // x = -1234
short y = -(1500 % 60);// y = -25
y = (short)(x * y);    // z = 30850Pascal  Použitá kľúčové slová: integer 
integer
Popis
integerPríklady
Pascal
Možné požitie 16-bitové celé číslo:xmin := -32768; ymax := 32767;
x:= -1234;        { x = -1234}
y:= -(1500 mod 60);{ y = -25}
y := integer((x * y));    { z = 30850}.
C#  Použitá kľúčové slová: int16 
Int16
Popis
 Int16Príklady
C#
Možné požitie 16-bitové celé číslo:xmin = -32768; ymax = 32767;
short x= -1234;        // x = -1234
short y = -(1500 % 60);// y = -25
y = (short)(x * y);    // z = 30850Môžete to nájsť v nasledujúcich kolekciách: celé čísla so znamienkom | celé čísla | čísla | dátové typy
16-bitové celé číslo v inom programovacom jazyku:
Rozdiely oproti: