Class YearRange
Syntax
Constructors
YearRange()
Declaration
Properties
EndYear
Declaration
public int EndYear { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
StartYear
Declaration
public int StartYear { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Equals(YearRange)
Declaration
public bool Equals(YearRange val)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Equals(Object)
Tests a System.Object against this current YearRange for equality.
Declaration
public override bool Equals(object toCompare)
Parameters
Type |
Name |
Description |
System.Object |
toCompare |
|
Returns
Type |
Description |
System.Boolean |
True if object is equal otherwise false is returned.
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
The hash code for this object.
|
Overrides
System.Object.GetHashCode()
Operators
Equality(YearRange, YearRange)
Declaration
public static bool operator ==(YearRange a, YearRange b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Inequality(YearRange, YearRange)
Declaration
public static bool operator !=(YearRange a, YearRange b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if not equal otherwise false is returned.
|