CrossUI.Drawing.Vector.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            unchecked
            {
                return (X.GetHashCode() * 397) ^ Y.GetHashCode();
            }
        }

Usage Example

Example #1
0
 public override int GetHashCode()
 {
     return(Vector.GetHashCode());
 }