src/openSourceC.DotNetLibrary.Core/Threading/ServiceThread.cs
/// <summary>
///		Compares two objects and returns a value indicating whether one is less than, equal
///		to, or greater than the other.
/// </summary>
/// <param name="x">The first object to compare.</param>
/// <param name="y">The second object to compare.</param>
/// <returns></returns>
Compares two objects and returns a value indicating whether one is less than, equal
to, or greater than the other.
Compares two objects and returns a value indicating whether one is less than equal to or greater than the other .
public static int Compare(ServiceThread? x, ServiceThread? y)
		{
			if (x is null & y is null)
			{
				return 0;
			}
			else if (x is null)
			{
				return int.MinValue;
			}
			else if (y is null)
			{
				return int.MaxValue;
			}
			return x.CompareTo(y);
		}
public static int Compare ( ServiceThread ? x , ServiceThread ? y ) { if ( x is null & y is null ) { return 0 ; } else if ( x is null ) { return int . MinValue ; } else if ( y is null ) { return int . MaxValue ; } return x . CompareTo ( y ) ; }
Compares two objects and returns a value indicating whether one is less than, equal
to, or greater than the other.
Compares two objects and returns a value indicating whether one is less than equal to or greater than the other .
None
x
ServiceThread?
The first object to compare.
The first object to compare .
y
ServiceThread?
The second object to compare.
The second object to compare .