asp.net.ph

Boolean.GetHashCode Method

System Namespace   Boolean Class


Returns the hash code for this instance.

[ VB ]
<Serializable>
Overrides Public Function GetHashCode ( ) As Integer

[ C# ]
[Serializable]
public override int GetHashCode ( );

[ C++ ]
[Serializable]
public: int GetHashCode ( );

[JScript ]
public Serializable
override function GetHashCode ( ) : int;

Return Value

A hash code for the current Boolean.

Remarks

The Boolean class implements true as the integer, one, and false as the integer, zero. However, a particular programming language might represent true and false with other values.

See Also

Boolean Members   GetHashCode Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note