Byte Structure |
Namespace: System
[SerializableAttribute] public struct Byte : IComparable, IFormattable, IConvertible, IComparable<byte>, IEquatable<byte>
The Byte type exposes the following members.
Name | Description | |
---|---|---|
CompareTo(Byte) | Compares this instance to a specified 8-bit unsigned integer and returns an indication of their relative values. | |
CompareTo(Object) | Compares this instance to a specified object and returns an indication of their relative values. | |
Equals(Byte) | Returns a value indicating whether this instance and a specified Byte object represent the same value. | |
Equals(Object) | Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueTypeEquals(Object).) | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Converts the value of the current Byte object to its equivalent string representation. (Overrides ValueTypeToString.) | |
ToString(IFormatProvider) | Converts the numeric value of the current Byte object to its equivalent string representation using the specified culture-specific formatting information. | |
ToString(String) | Converts the value of the current Byte object to its equivalent string representation using the specified format. | |
ToString(String, IFormatProvider) | Converts the value of the current Byte object to its equivalent string representation using the specified format and culture-specific formatting information. |
Name | Description | |
---|---|---|
MaxValue | Represents the largest possible value of a Byte. This field is constant. | |
MinValue | Represents the smallest possible value of a Byte. This field is constant. |