A complex number is considered equal to an ubt if the real part is the same as the
int and the imaginary part is 0.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public bool Equals( int CompareTo )
Public Function Equals ( _ CompareTo As Integer _ ) As Boolean
public: bool Equals( int CompareTo )
Parameters
- CompareTo (Int32)
- Int to compare to
Return Value
True if they are equal