Link Details

Link 2509 thumbnail
User 204699 avatar

By madskristensen
via madskristensen.dk
Published: Aug 29 2006 / 11:22

It’s a good rule of thumb to overload the equality operators on classes. That ensures a correct comparison between to class instances of the same type. If you don’t, .NET automatically uses reflection and that is way slower than a custom implementation.
  • 7
  • 0
  • 457
  • 111

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)