Method GetHashCode
GetHashCode()
Gets the Hash Code for the Tag
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | HashCode |
Overrides
System.Object.GetHashCode()
Examples
Example prints hashcode of tag
Tag tag1 = new Tag("Alpha");
Console.WriteLine("Hashcode of {0} is {1}", tag1.ToString(), tag1.GetHashCode());