[This is preliminary documentation and is subject to change.]
Returns a new Pair of two elements
Namespace: Microsoft.Research.Naiad
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public static Pair<V1, V2> PairWith<V1, V2>( this V1 first, V2 second )
Parameters
- first
- Type: V1
first element - second
- Type: V2
second element
Type Parameters
- V1
- first element type
- V2
- second element type
Return Value
Type: PairV1, V2pair of first and second elements
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also