all groups > c# > june 2003 >
You're in the

c#

group:

Equals and "==" operator


Equals and "==" operator #Hai
6/28/2003 12:49:53 PM
c#:
Hi,
What is the difference between Object.Equals and "==" operator ?
When we use CollectionBase.List.Remove(object), which methods is used to
compare objects ?

Thanks

Re: Equals and "==" operator Anthony Bouch
6/29/2003 10:42:28 AM
For interest, there are also performance differences between instance and
static(shared) methods for Equals and the == operator when comparing
strings.

[quoted text, click to view]

Re: Equals and "==" operator Markus Wildgruber
6/30/2003 10:45:40 AM
Hi Anthony!

Can you tell me more about the performance differences. Which way is
fastest?

TIA,

Markus

"Anthony Bouch" <tony@nospamforever.com> schrieb im Newsbeitrag
news:e2lV4BfPDHA.3192@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button