C# Class References.PersonWithEqualityOperator

Inheritance: PersonWithEquals
Mostra file Open project: NikolayIT/CSharp-Tips-and-Tricks Class Usage Examples

Public Methods

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

Method Details

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

PersonWithEqualityOperator() public method

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

operator() public static method

public static operator ( ) : bool
return bool