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
What is server side in asp.net?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
What are the advantages of using sql stored procedures instead of adhoc sql queries in an asp.net web application?
What is a postback in asp net?
What does ascx stand for?
Which is the parent class of the web server control?
What describes a query?
How do I know asp.net mvc version? : Asp.Net MVC
What is the difference between union and join?
In how many ways we can retrieve table records count?
Explain http handlers? Where we can use the http handlers?
To display data in a Repeater control which template you provide?
What is difference between datalist and gridview?
What is view state and how it works in asp net?
What are the different session state management options available in asp.net?