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

CSharp examples for System:Byte

Description

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

Demo Code



public class Main{
        /// <summary>
        /// The return value is the high-order word of the specified value.
        /// </summary>
        public static short HiWord(this int pDWord) => (short)((pDWord >> 16) & 0xFFFF);
}

Related Tutorials