CSharp Equivalent of VC++ char?

  • Thread starter Thread starter Chris Ashley
  • Start date Start date
C

Chris Ashley

How can I implement a byte in CSharp that works the same as the char in
VC++ 6? EG: With the range -128 to 127? The standard byte has the range
0 to 255, and the CSharp char is too long (16 bits).
 
Hi Chris

sbyte?


How can I implement a byte in CSharp that works the same as the char in
VC++ 6? EG: With the range -128 to 127? The standard byte has the range
0 to 255, and the CSharp char is too long (16 bits).
 
* Chris Ashley said:
How can I implement a byte in CSharp that works the same as the char in
VC++ 6? EG: With the range -128 to 127? The standard byte has the range
0 to 255, and the CSharp char is too long (16 bits).
sbyte, is 1 byte and has values -128 to 127.
 
Back
Top