Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
which one is faster string.Equals() or stringvariable.Equals
Santhosh Subramaniam
9y
385
1
Reply
Hi ,
In string.Equals() is faster or stringVariable.Equals() is faster...?
Eg :
string strname=" Test";
string.Equals(strname, "Test123", StringComparison.OrdinalIgnoreCase))
Or
strname.Equals("Test123", StringComparison.OrdinalIgnoreCase)
Thanks.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Difference between delegates and events?
link button text change