Click or drag to resize

Utils_Linq.Add<V1, V2> Method (List<Tuple<V1, V2>>, V1, V2)

Adds a new instance of Tuple in a list of Tuple or same type.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static void Add<V1, V2>(
	this List<Tuple<V1, V2>> list,
	V1 item1,
	V2 item2
)

Parameters

list
Type: System.Collections.Generic.List<Tuple<V1, V2>>
item1
Type: V1
item2
Type: V2

Type Parameters

V1
V2

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type List<Tuple<V1, V2>>. 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