Пример #1
0
 private UInt64 build64(iControl.CommonULong64 ul64)
 {
     return((UInt64)((UInt64)(ul64.high << 32) | (UInt64)ul64.low));
 }
        public UInt64 toUint64(iControl.CommonULong64 ul64)
        {
            UInt64 ui64 = (Convert.ToUInt64(ul64.high) << 32) | (Convert.ToUInt64(ul64.low));

            return(ui64);
        }
Пример #3
0
        public static UInt64 build64(iControl.CommonULong64 ul64)
        {
            UInt64 value = ((UInt64)(UInt32)ul64.high) << 32 | ((UInt64)(UInt32)ul64.low);

            return(value);
        }