src/openSourceC.DotNetLibrary.Core/Threading/CompareThreadByManagedThreadId.cs
/// <summary>
///		Determines whether the specified <see cref="T:Thread"/> objects are equal.
/// </summary>
/// <param name="x">The first <see cref="T:Thread"/> to compare.</param>
/// <param name="y">The second <see cref="T:Thread"/> to compare.</param>
/// <returns>
///		<b>true</b> if the specified <see cref="T:Thread"/> objects are equal; otherwise,
///		<b>false</b>.
/// </returns>
Determines whether the specified  objects are equal.
Determines whether the specified objects are equal .
public bool Equals(Thread? x, Thread? y)
		{
			return (
				(x is null && y is null)
				|| (
					!(x is null || y is null)
					&& x.ManagedThreadId.Equals(y.ManagedThreadId)
					&& x.GetHashCode().Equals(y.GetHashCode())
				)
			);
		}
public bool Equals ( Thread ? x , Thread ? y ) { return ( ( x is null && y is null ) || ( ! ( x is null || y is null ) && x . ManagedThreadId . Equals ( y . ManagedThreadId ) && x . GetHashCode ( ) . Equals ( y . GetHashCode ( ) ) ) ) ; }
Determines whether the specified  objects are equal.
Determines whether the specified objects are equal .
true objects are equal; otherwise,
false
true objects are equal ; otherwise false
x
Thread?
The first  to compare.
The first to compare .
y
Thread?
The second  to compare.
The second to compare .