Creates a Key Value pair relating the key and value of type
T and U respectively
Declaration Syntax
C# |
public class Tuple<T, U> : IEquatable<Tuple<T, U>>
Generic Template Parameters
- T
- The type of the key
- U
- The type of the value
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
Tuple<(Of <(<'T, U>)>)>()()()() |
The default constructor
| |
Tuple<(Of <(<'T, U>)>)>(T, U) |
Constructs a Tuple relating an instance
of type T to an instance of type U
| |
Equals(Object) |
Determines whether two Tuple objects have the same value.
(Overrides Object.Equals(Object).) | |
Equals(Tuple<(Of <<'(T, U>)>>)) |
Determines whether two Tuple objects have the same value.
| |
First |
Returns the key of this Tuple
| |
GetHashCode()()()() |
Returns the hash code for this tuple
(Overrides Object.GetHashCode()()()().) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
Second |
Returns the value of this Tuple
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
Inheritance Hierarchy
Object | |
Tuple<(Of <(<'T, U>)>)> |