Declaration Syntax
Public Shared Function Combine(Of _Type)( _
ByVal ParamArray sourceArrays()() As _Type _
) As _Type()
public static _Type[] Combine<_Type>(
params _Type[][] sourceArrays
);
In C++, you cannot declare this method.
public static function Combine(
sourceArrays : _Type[][]
) : _Type[];
Parameters
- sourceArrays
- The source arrays you want to join.
Return Value
A new array which joins the source arrays together.Remarks
This function maintains the order of the arrays, so that the first source array will contain the lowest index elements in the retruned (combined) awway. In addition, this function maintains the order of elements in their own arrays.Example
string[] a = {"a", "b", "b"};
string[] b = {"c", "z", "g"};
string[] c = {"d", "e","f"}
string[] combined = ArrayHelper.Combine(a, b, c);
foreach(string s in combined){
Console.Write(s);
}
Requirements
Namespace: Eas.WebCrawler.Common.CollectionsAssembly: Eas.WebCrawler.Common (eas.webcrawler.common.dll)