The return value is the high-order byte of the specified value. - CSharp System

CSharp examples for System:Byte

Description

The return value is the high-order byte of the specified value.

Demo Code



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);
}

Related Tutorials