tailieunhanh - Equals

Equal's Objectives is Describe equality testing; show how to override ObjectEquals (error checking, casting, chaining to base class, comparing data); present static helper method and something else. | Equals d eve I opmentor Objectives Describe equality testing Show how to override Object Equals - error checking - casting - chaining to base class - comparing data Present static helper method developmentor Equality methods in Object class Object class provides two methods to test equality - instance version is primary method - static version is convenient helper class Object equality methods public virtual bool Equals object o . public static bool Equals object a object b .