[This is preliminary documentation and is subject to change.]
Returns a new array that contains source elements with additional elements appended at the end
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static T[] AppendToNew<T>(
this T[] source,
params T[] elements
)
public static T[] AppendToNew<T>(
this T[] source,
params T[] elements
)
<ExtensionAttribute>
Public Shared Function AppendToNew(Of T) (
source As T(),
ParamArray elements As T()
) As T()
<ExtensionAttribute>
Public Shared Function AppendToNew(Of T) (
source As T(),
ParamArray elements As T()
) As T()
public:
[ExtensionAttribute]
generic<typename T>
static array<T>^ AppendToNew(
array<T>^ source,
... array<T>^ elements
)
public:
[ExtensionAttribute]
generic<typename T>
static array<T>^ AppendToNew(
array<T>^ source,
... array<T>^ elements
)
static member AppendToNew :
source : 'T[] *
elements : 'T[] -> 'T[]
static member AppendToNew :
source : 'T[] *
elements : 'T[] -> 'T[]
Parameters
- source
- Type: T
- elements
- Type: T
- T
Return Value
Type:
T 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).