Click or drag to resize
ByteCompareTo Method (Byte)
Compares this instance to a specified 8-bit unsigned integer and returns an indication of their relative values.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public int CompareTo(
	byte value
)

Parameters

value
Type: SystemByte
An 8-bit unsigned integer to compare.

Return Value

Type: Int32
A signed integer that indicates the relative order of this instance and value.Return Value Description Less than zero This instance is less than value. Zero This instance is equal to value. Greater than zero This instance is greater than value.
See Also