Link Details

Link 88106 thumbnail
User 290279 avatar

By jamesling
via digcode.com
Published: Jun 17 2008 / 21:54

In .NET Framework, The Object.Equals method, equality operator (==), or inequality operator (!=) are used to test equality. Generally, you should override Equals method in your classes and structures to perform appropriate behavior when comparing ojbects of certain types. If you do that, you should also overload the == and != operators to allow easier synax to compare objects.
  • 5
  • 0
  • 778
  • 92

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 (5)



Voters Against This Link (0)