CamTimer.WebcamConfiguration.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            return m_size.Width * m_size.Height * m_bpp;
        }

Usage Example

Example #1
0
 public int CompareTo(object obj)
 {
     if (obj is WebcamConfiguration)
     {
         WebcamConfiguration y = (WebcamConfiguration)obj;
         return(this.GetHashCode() - y.GetHashCode());
     }
     else
     {
         return(int.MinValue);
     }
 }