System.Drawing.Size.GetHashCode C# (CSharp) Method

GetHashCode() public method

Returns a hash code.

public GetHashCode ( ) : int
return int
        public override int GetHashCode() => HashHelpers.Combine(Width, Height);

Usage Example

Beispiel #1
0
 public override int GetHashCode()
 {
     return(_Size.GetHashCode() ^ _ColorDepth.GetHashCode());
 }