Register  |  Login



Earn money by sharing your knowledge

Quomon shares its advertising revenue with contributing experts that answer questions effectively. Join our community to share your knowledge and earn an income as you go.

Question

Status: Closed Points: 50 Time: 03:00 - Mar 05, 2007  

theDude

What is best in terms of performance: .Equals or == in C# .net?

I need to compare two strings in C#. What is best in terms of performance:
mystring.Equals(anotherstring) or mystring == anotherstring?

Answer Discussion
Tutorials

 

Q&A System for Websites and Corporate Collaboration

Advertisement

  • Generates significant organic traffic for websites
  • Saves companies money, resources, and time

theDude

Date:: Mar 23, 2007

Time:: 15:26

what i investigated was the there was no difference in terms of performance.

aravazhi

Date:: Sep 21, 2007

Time:: 02:09

Try this link

http://blogs.msdn.com/csharpfaq/archive/...

Question Answered

This question has been closed, and points have been rewarded to the following experts:

theDude: 50

You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

No tutorials have been submitted yet. Want to be the first?

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top programming Experts

View More

Rank

Expert

Points

1.

nidhi

1120

2.

PeterNZ

1020

3.

rcastagna

965

4.

jgivoni

605

5.

xarcus

345

6.

multani.sarbjit

255

7.

admin1

250

8.

Sergio Costa

210

9.

Anpanman

190

10.

theDude

105

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es