private static int getArea(TrackedColor trackedColor) { return(trackedColor.Bounds.Width * trackedColor.Bounds.Height); }
private static int areaCompare(TrackedColor x, TrackedColor y) { //compare areas return((getArea(y)).CompareTo(getArea(y))); }