.Net Framework Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 3200 Page Views: 

In the context of a comparison, what is object identity versus object equivalence?



Posted By: Avi Date: 22 August 2009 07:35:23 AM
 Answer:

1) Two objects are identical if they share same address in memory.Two objects are equivalent if they are instances of the same type and every field of the first object matches the fields of another object.

2)Object identical have only same instances. Object equivalent have fields are same but the different instances only type are same.


Posted By: eTechPlanet


Date: 22 August 2009 07:35:23 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image ceTQes
Related Questions
.Net Framework : What is an assembly?

What is an assembly?

When you compile .Net source code, an exe or dll is generated, which is actually known as an assembl....
Category: .Net Framework Date: 8/29/2009 6:27:06 AM
.Net Framework : What features of .Net 2.0 can be used to implement distributed applications?

What features of .Net 2.0 can be used to implement distributed applications?

ASP.Net Web Services and .Net Remoting
Category: .Net Framework Date: 8/29/2009 6:20:37 AM
.Net Framework : Can we force garbage collection in .Net?

Can we force garbage collection in .Net?

Yes. Set all references to null and then call System.GC.Collect().
Category: .Net Framework Date: 8/28/2009 4:58:58 PM
.Net Framework : What is Marshaling?

What is Marshaling?

Marshaling performs the necessary conversions in data formats between managed and unmanaged code. CL....
Category: .Net Framework Date: 8/28/2009 7:04:46 AM
.Net Framework : What is the top .Net class that everything is derived from?

What is the top .Net class that everything is derived from?

System.Object
Category: .Net Framework Date: 8/28/2009 7:01:44 AM