Skip to main content
.NET Framework Class Library
Byte..::.CompareTo Method





Compares this instance to a specified object or Byte and returns an indication of their relative values.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List
 NameDescription
Public methodCompareTo(Byte)Compares this instance to a specified 8-bit unsigned integer and returns an indication of their relative values.
Public methodCompareTo(Object)Compares this instance to a specified object and returns an indication of their relative values.
Top
Microsoft is conducting an online survey to understand your opinion of the MSDN Web site. If you choose to participate, the online survey will be presented to you when you leave the MSDN Web site.

Would you like to participate?