This code block shows on how to do a compare using the eqauls object
public class Object {
public virtual Boolean Equals(Object obj) {
// If both references point to the same object,
// they must have the same value.
if (this == obj) return true;
// Assume that the objects do not have the same value.
return false;
}
}
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

surender bhyanPosted Apr 4, 2011, 3:04 PM
Thanks Sir
surender bhyanPosted Apr 4, 2011, 3:04 PM
Thanks Sir