© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
5 replies
Gladiator

Equals for structs [Answered]

Is it standard to implement GetHashCode and == and Equals for structs even if all fields should be used? because the default one is using reflection to get fields
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Structs?
C#CC# / help
2y ago
Understanding Equals() method
C#CC# / help
4mo ago
How to use ExtensionMethods for structs
C#CC# / help
2y ago
Odd behaviour copying structs
C#CC# / help
12mo ago