René's URL Explorer Experiment


Title: Object.GetHashCode Method (System) | Microsoft Learn

Open Graph Title: Object.GetHashCode Method (System)

Description: Serves as the default hash function.

Open Graph Description: Serves as the default hash function.

Opengraph URL: https://learn.microsoft.com/en-us/dotnet/api/system.object.gethashcode?view=net-10.0

X: @MicrosoftLearn

direct link

Domain: docs.microsoft.com

color-schemelight dark
twitter:cardsummary_large_image
og:typewebsite
og:image:altMicrosoft Learn
og:imagehttps://learn.microsoft.com/en-us/media/open-graph-image.png
platform_id36cc6376-bbbe-4477-0239-699d75e9a369
scope.NET
localeen-us
uhfHeaderIdMSDocsHeader-DotNet
page_typedotnet
uidSystem.Object.GetHashCode*
namespaceSystem
monikersnet-11.0
schemaNetMember
breadcrumb_path/dotnet/breadcrumb/toc.json
recommendationstrue
authordotnet-bot
ms.authordotnetcontent
ms.date2025-07-01T00:00:00Z
show_latextrue
apiPlatformdotnet
ms.topicreference
ms.servicedotnet-api
productshttps://authoring-docs-microsoft.poolparty.biz/devrel/7696cda6-0510-47f6-8302-71bb5d2e28cf
feedback_systemOpenSource
feedback_product_urlhttps://aka.ms/feedback/report?space=61
feedback_help_link_urlhttps://learn.microsoft.com/answers/tags/97/dotnet
feedback_help_link_typeget-help-at-qna
ms.subservicesystem
APINameSystem.Object.GetHashCode
APILocationnetstandard.dll
TopicTypeapiref
APITypeAssembly
document_id5807aad7-719d-7213-f807-abf4b298698f
document_version_independent_id5807aad7-719d-7213-f807-abf4b298698f
updated_at2026-07-01T18:02:00Z
original_content_git_urlhttps://github.com/dotnet/dotnet-api-docs-temp/blob/live/xml/System/Object.xml
gitcommithttps://github.com/dotnet/dotnet-api-docs-temp/blob/81bbffe18729495e564de2315f28ec3580b89055/xml/System/Object.xml
git_commit_id81bbffe18729495e564de2315f28ec3580b89055
default_monikernet-10.0
site_nameDocs
depot_nameLearn.dotnet-api-docs-temp
page_kindmethod
ms.assetidSystem.Object.GetHashCode*
toc_reldotnet-api-docs-temp/_splitted/system/toc.json
search.mshattr.devlangcsharp vb fsharp cpp
asset_idapi/system.object.gethashcode
moniker_range_namef9012738b8c424b4dd2d6afed8279361
item_typeContent
source_pathxml/System/Object.xml
github_feedback_content_git_urlhttps://github.com/dotnet/dotnet-api-docs-temp/blob/live/xml/System/Object.xml
markdown_urlhttps://learn.microsoft.com/en-us/dotnet/api/system.object.gethashcode?view=net-10.0&accept=text/markdown
cmProductshttps://authoring-docs-microsoft.poolparty.biz/devrel/7696cda6-0510-47f6-8302-71bb5d2e28cf
spProductshttps://authoring-docs-microsoft.poolparty.biz/devrel/69c76c32-967e-4c65-b89a-74cc527db725

Links:

Skip to main content https://docs.microsoft.com/dotnet/api/system.object.gethashcode#main
Skip to in-page navigation https://docs.microsoft.com/dotnet/api/system.object.gethashcode#side-doc-outline
Skip to Ask Learn chat experience https://docs.microsoft.com/dotnet/api/system.object.gethashcode
Download Microsoft Edge https://go.microsoft.com/fwlink/p/?LinkID=2092881
More info about Internet Explorer and Microsoft Edge https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge
Read in English https://docs.microsoft.com/dotnet/api/system.object.gethashcode
Edit https://docs.microsoft.com/dotnet/api/system.object.gethashcode
signing inhttps://docs.microsoft.com/dotnet/api/system.object.gethashcode
Systemhttps://docs.microsoft.com/dotnet/api/system?view=net-10.0
Object.cshttps://github.com/dotnet/dotnet/blob/b0f34d51fccc69fd334253924abd8d6853fad7aa/src/runtime/src/libraries/System.Private.CoreLib/src/System/Object.cs#L85C13-L85C53
Object.cshttps://github.com/dotnet/dotnet/blob/f7b4c5716faaee8fb8a289aed29118cad955c45f/src/runtime/src/libraries/System.Private.CoreLib/src/System/Object.cs#L85C13-L85C53
Object.cshttps://github.com/dotnet/runtime/blob/d099f075e45d2aa6007a22b71b45a08758559f80/src/libraries/System.Private.CoreLib/src/System/Object.cs#L85C13-L85C53
Object.cshttps://github.com/dotnet/runtime/blob/5535e31a712343a63f5d7d796cd874e563e5ac14/src/libraries/System.Private.CoreLib/src/System/Object.cs#L85C13-L85C53
Object.cshttps://github.com/dotnet/runtime/blob/9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3/src/libraries/System.Private.CoreLib/src/System/Object.cs#L85C13-L85C53
Int32https://docs.microsoft.com/dotnet/api/system.int32?view=net-10.0
Int32https://docs.microsoft.com/dotnet/api/system.int32?view=net-10.0
HashCode.Combinehttps://docs.microsoft.com/dotnet/api/system.hashcode.combine?view=net-10.0
GetHashCodehttps://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0
Dictionaryhttps://docs.microsoft.com/dotnet/api/system.collections.generic.dictionary-2?view=net-10.0
Hashtablehttps://docs.microsoft.com/dotnet/api/system.collections.hashtable?view=net-10.0
DictionaryBasehttps://docs.microsoft.com/dotnet/api/system.collections.dictionarybase?view=net-10.0
Hash Functionhttps://en.wikipedia.org/wiki/Hash_function
GetHashCodehttps://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0
System.Security.Cryptography.HashAlgorithmhttps://docs.microsoft.com/dotnet/api/system.security.cryptography.hashalgorithm?view=net-10.0
System.Security.Cryptography.KeyedHashAlgorithmhttps://docs.microsoft.com/dotnet/api/system.security.cryptography.keyedhashalgorithm?view=net-10.0
ReferenceEqualshttps://docs.microsoft.com/dotnet/api/system.object.referenceequals?view=net-10.0
Equalshttps://docs.microsoft.com/dotnet/api/system.object.equals?view=net-10.0
GetHashCodehttps://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0
GetHashCodehttps://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0
Object.GetHashCodehttps://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0
RuntimeHelpers.GetHashCodehttps://docs.microsoft.com/dotnet/api/system.runtime.compilerservices.runtimehelpers.gethashcode?view=net-10.0
ReferenceEqualshttps://docs.microsoft.com/dotnet/api/system.object.referenceequals?view=net-10.0
GetHashCodehttps://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0
ValueType.GetHashCodehttps://docs.microsoft.com/dotnet/api/system.valuetype.gethashcode?view=net-10.0
GetHashCodehttps://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0
GetHashCodehttps://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0
Equalshttps://docs.microsoft.com/dotnet/api/system.object.equals?view=net-10.0
Equalshttps://docs.microsoft.com/dotnet/api/system.object.equals?view=net-10.0
GetHashCodehttps://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0
GetHashCodehttps://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0
IEqualityComparerhttps://docs.microsoft.com/dotnet/api/system.collections.iequalitycomparer?view=net-10.0
Hashtablehttps://docs.microsoft.com/dotnet/api/system.collections.hashtable?view=net-10.0
Objecthttps://docs.microsoft.com/dotnet/api/system.object?view=net-10.0
GetHashCode()https://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0#system-object-gethashcode
GetHashCode()https://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0#system-object-gethashcode
GetHashCode(Object)https://docs.microsoft.com/dotnet/api/system.runtime.compilerservices.runtimehelpers.gethashcode?view=net-10.0#system-runtime-compilerservices-runtimehelpers-gethashcode(system-object)
GetHashCode()https://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0#system-object-gethashcode
GetHashCode()https://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0#system-object-gethashcode
GetHashCode()https://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0#system-object-gethashcode
GetHashCode()https://docs.microsoft.com/dotnet/api/system.valuetype.gethashcode?view=net-10.0#system-valuetype-gethashcode
GetHashCode()https://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0#system-object-gethashcode
GetHashCode()https://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0#system-object-gethashcode
GetHashCode()https://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0#system-object-gethashcode
System.Object.Equalshttps://docs.microsoft.com/dotnet/api/system.object.equals?view=net-10.0
GetHashCode()https://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0#system-object-gethashcode
GetHashCode()https://docs.microsoft.com/dotnet/api/system.string.gethashcode?view=net-10.0#system-string-gethashcode
Stringhttps://docs.microsoft.com/dotnet/api/system.string?view=net-10.0
Stringhttps://docs.microsoft.com/dotnet/api/system.string?view=net-10.0
GetHashCode()https://docs.microsoft.com/dotnet/api/system.object.gethashcode?view=net-10.0#system-object-gethashcode
Equals(Object)https://docs.microsoft.com/dotnet/api/system.object.equals?view=net-10.0#system-object-equals(system-object)
Hashtablehttps://docs.microsoft.com/dotnet/api/system.collections.hashtable?view=net-10.0
Hashtablehttps://docs.microsoft.com/dotnet/api/system.collections.hashtable?view=net-10.0
Equals(Object)https://docs.microsoft.com/dotnet/api/system.object.equals?view=net-10.0#system-object-equals(system-object)
GetHashCode(Object)https://docs.microsoft.com/dotnet/api/system.runtime.compilerservices.runtimehelpers.gethashcode?view=net-10.0#system-runtime-compilerservices-runtimehelpers-gethashcode(system-object)
our contributor guidehttps://learn.microsoft.com/contribute/content/dotnet/api-documentation
Open a documentation issue https://docs.microsoft.com/dotnet/api/system.object.gethashcode
Provide product feedback https://aka.ms/feedback/report?space=61
en-ushttps://docs.microsoft.com/dotnet/api/system.object.gethashcode
Your Privacy Choiceshttps://aka.ms/yourcaliforniaprivacychoices
AI Disclaimerhttps://learn.microsoft.com/en-us/principles-for-ai-generated-content
Previous Versionshttps://learn.microsoft.com/en-us/previous-versions/
Bloghttps://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog
Contributehttps://learn.microsoft.com/en-us/contribute
Privacyhttps://go.microsoft.com/fwlink/?LinkId=521839
Consumer Health Privacyhttps://go.microsoft.com/fwlink/?linkid=2259814
Terms of Usehttps://learn.microsoft.com/en-us/legal/termsofuse
Trademarkshttps://www.microsoft.com/legal/intellectualproperty/Trademarks/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.