src/openSourceC.DotNetLibrary.Core/Threading/ServiceThread.cs
/// <summary>
///		Compares the current instance with another object of the same type and returns an
///		integer that indicates whether the current instance precedes, follows, or occurs in
///		the same position in the sort order as the other object.
/// </summary>
/// <param name="obj"></param>
/// <returns></returns>
Compares the current instance with another object of the same type and returns an
integer that indicates whether the current instance precedes, follows, or occurs in
the same position in the sort order as the other object.
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes follows or occurs in the same position in the sort order as the other object .
public int CompareTo(object? obj)
		{
			if (obj == null)
			{
				return 1;
			}
			if (obj is ServiceThread serviceThread)
			{
				return CompareTo(serviceThread);
			}
			throw new ArgumentException($"Argument must be an {nameof(ServiceThread)}.");
		}
public int CompareTo ( object ? obj ) { if ( obj == null ) { return 1 ; } if ( obj is ServiceThread serviceThread ) { return CompareTo ( serviceThread ) ; } throw new ArgumentException ( $" Argument must be an  { nameof ( ServiceThread ) } . " ) ; }
Compares the current instance with another object of the same type and returns an
integer that indicates whether the current instance precedes, follows, or occurs in
the same position in the sort order as the other object.
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes follows or occurs in the same position in the sort order as the other object .
None
obj
object?
None