CSharp examples for System:Byte
The return value is the high-order byte of the specified value.
public class Main{ /// <summary> /// The return value is the high-order byte of the specified value. /// </summary> public static byte HiByte(this short pWord) => (byte)((pWord >> 8) & 0xFF); }