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