Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an array that contains the elements of one array followed by the elements of another array.
Namespace/Module Path: Microsoft.FSharp.Collections.Array
Assembly: FSharp.Core (in FSharp.Core.dll)
// Signature:
Array.append : 'T [] -> 'T [] -> 'T []
// Usage:
Array.append array1 array2
Parameters
Return Value
The resulting array.
Remarks
This function is named Append in compiled assemblies. If you are accessing the function from a language other than F#, or through reflection, use this name.
Example
The following example demonstrates the use of Array.append.
printfn "%A" (Array.append [| 1; 2; 3|] [| 4; 5; 6|])
[|1; 2; 3; 4; 5; 6|]
Platforms
Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2
Version Information
F# Runtime
Supported in: 2.0, 4.0
Silverlight
Supported in: 3