Boolean.GetHashCode Метод
Определение
Возвращает хэш-код данного экземпляра.Returns the hash code for this instance.
public:
override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer
Возвращаемое значение
Хэш-код для текущего объекта Boolean.A hash code for the current Boolean.
Комментарии
BooleanКласс реализует true
как целое число, один и false
как целое число 0.The Boolean class implements true
as the integer, one, and false
as the integer, zero. Однако конкретный язык программирования может представлять true
и false
другие значения.However, a particular programming language might represent true
and false
with other values.