NullableBoolGetHashCode Method |
Returns a hash code value for the instance of the
NullableBool class.
Namespace:
Aspose.Tasks
Assembly:
Aspose.Tasks (in Aspose.Tasks.dll) Version: 21.10
Syntaxpublic override int GetHashCode()
Public Overrides Function GetHashCode As Integer
public:
virtual int GetHashCode() override
abstract GetHashCode : unit -> int
override GetHashCode : unit -> int
Return Value
Type:
Int32returns a hash code value for this object.
ExamplesShows how to work with <see cref="Aspose.Tasks.NullableBool" />.GetHashCode method.
var bool1 = new NullableBool(true);
var bool2 = new NullableBool(true, false);
Console.WriteLine("Bool 1: {0} Hash Code 1: {1}", bool1.ToString(), bool1.GetHashCode());
Console.WriteLine("Bool 2: {0} Hash Code 1: {1}", bool2.ToString(), bool2.GetHashCode());
See Also