Click or drag to resize

UnorderedPairT Structure

An unordered pair of items.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 14.0.0.10531
Syntax
C#
public struct UnorderedPair<T>

Type Parameters

T
The type of item.

The UnorderedPairT type exposes the following members.

Constructors
  NameDescription
Public methodUnorderedPairT
Initializes a new instance of the UnorderedPairT class
Top
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
Fields
  NameDescription
Public fieldItem1
Public fieldItem2
Top
Remarks
Similar to a Tuple, but two unordered pairs are equal if they have the equal items regardless of the order in which they are stored. Similarly, the hashcode will be equal for an unordered pair of two items irrespective of the order in which they are stored.
See Also