MailAddress.GetHashCode Method ()


Returns a hash value for a mail address.

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

public override int GetHashCode()

Return Value

Type: System.Int32

An integer hash value.

The GetHashCode method returns a hash code of the mail address. This value can be used as a key in hash tables.

.NET Framework
Available since 2.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft