TupleListT1, T2Add Method (T1, T2) |
Creates a new tuple instance from the specified values and adds it
to the end of the tuple list.
Namespace: Network.Sim.MiscellaneousAssembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void Add(
T1 item,
T2 item2
)
Parameters
- item
- Type: T1
The first element of the tuple. - item2
- Type: T2
The second element of the tuple.
RemarksThe purpose of this method is to allow for the shortcut
initializer syntax to be used with tuples.
See Also