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
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
Describe the disadvantage of cookies.
Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?
Can you nest updatepanel within each other?
What does asax stand for?
Where the assembly is stored in asp.net?
What are Master Pages in ASP.NET? or What is a Master Page?
Which is faster union or union all?
Which is an advantage of application service providers?
How many types of validation are there?
What is a postback in asp net?
How can we prepairing Interview
What’s the use of “GLOBAL.ASAX” file?
Explain the difference between response.redirect vs server.transfer
Explain method to handle error using HttpError in Web API?