src/NeinMath/Integer.cs
/// <summary>
/// Returns a value that indicates whether an Integer and a specified
/// object have the same value.
/// </summary>
/// <param name="obj">The object to compare.</param>
/// <returns>
/// true, if the obj parameter is an Integer or a type capable of
/// conversion to an Integer, and its value is equal to the Integer;
/// otherwise, false.
/// </returns>
Returns a value that indicates whether an Integer and a specified
object have the same value.
Returns a value that indicates whether an Integer and a specified object have the same value .
public override bool Equals(object obj)
        {
            if (obj == null)
                return false;
            if (obj is int)
                return Equals((int)obj);
            if (obj is Integer)
                return Equals((Integer)obj);
            return false;
        }
public override bool Equals ( object obj ) { if ( obj == null ) return false ; if ( obj is int ) return Equals ( ( int ) obj ) ; if ( obj is Integer ) return Equals ( ( Integer ) obj ) ; return false ; }
Returns a value that indicates whether an Integer and a specified
object have the same value.
Returns a value that indicates whether an Integer and a specified object have the same value .
true, if the obj parameter is an Integer or a type capable of
conversion to an Integer, and its value is equal to the Integer;
otherwise, false.
true if the obj parameter is an Integer or a type capable of conversion to an Integer and its value is equal to the Integer ; otherwise false .
obj
object
The object to compare.
The object to compare .