MongoDB.Types.ObjectId.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            return BitConverter.ToInt32(_bytes, 0)
            ^ BitConverter.ToInt32(_bytes, 4)
            ^ BitConverter.ToInt32(_bytes, 8);
        }