What is the difference between a.Equals(b) and a == b?
Answer Posted / sreejith k
The following article explains in detail on the difference between various equality operators
http://www.dotnetperls.com/string-equals
The final take is that Equals() require that the string be non-null while == checks for null.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How to create events for a control?
Explain weak typing and strong typing.
What is connection pooling and how to enable and disable connection pooling?
How does http session work?
How do you design a website with multilingual support in ASP.NET ?
What is the purpose of using MVC programming pattern in ASP.NET?
Where is cookie used in asp.net?
What I need to create and run an asp.net application?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
what is the difference between response.write() and response.output.write()?
How do you do client-side validation in .net? How to disable validator control by client side javascript?
How asynchronous call can be implemented using delegates?
Write the different features of a Thread and a Process?
In order to get assembly info which namespace we should import?
What are the file extensions for razor views?