Click or drag to resize

IntPair Structure

Class IntPair represents a pair of integers.
Inheritance Hierarchy
SystemObject
  SystemValueType
    CenterSpace.NMath.CoreIntPair

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public struct IntPair : IComparable<IntPair>, 
	IEqualityComparer<IntPair>, IEquatable<IntPair>

The IntPair type exposes the following members.

Constructors
 NameDescription
Public methodIntPair Constructs an integer pair.
Top
Methods
 NameDescription
Public methodCompareTo Compares one integer pair to another.
Public methodEquals(IntPair) Equals function for integer pairs.
Public methodEquals(IntPair, IntPair) Equality function for IntPair.
Public methodGetHashCode Hash code for an integer pair.
Top
Fields
 NameDescription
Public fieldI The first integer in the pair.
Public fieldJ The second integer in the pair.
Top
See Also