Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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.

3056


Describe the disadvantage of cookies.

1033


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?

2377


Can you nest updatepanel within each other?

980


What does asax stand for?

994


Where the assembly is stored in asp.net?

1014


What are Master Pages in ASP.NET? or What is a Master Page?

1139


Which is faster union or union all?

1011


Which is an advantage of application service providers?

900


How many types of validation are there?

968


What is a postback in asp net?

1100


How can we prepairing Interview

2337


What’s the use of “GLOBAL.ASAX” file?

1097


Explain the difference between response.redirect vs server.transfer

1144


Explain method to handle error using HttpError in Web API?

1060