C# Class References.PersonWithEquals

Inheritance: Person
Exibir arquivo Open project: NikolayIT/CSharp-Tips-and-Tricks Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
PersonWithEquals ( string personalNumber, string firstName, string lastName )

Protected Methods

Method Description
Equals ( Person other ) : bool

Method Details

Equals() protected method

protected Equals ( Person other ) : bool
other Person
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

PersonWithEquals() public method

public PersonWithEquals ( string personalNumber, string firstName, string lastName )
personalNumber string
firstName string
lastName string