I have created one method with two
parameters (Array, ArrayList) which is used to convert the Array to ArrayList
C#
public static ArrayList
ConvertArrayToArrayList(string[] strarray, ArrayList arrlstArray)
{
arrlstArray.AddRange(strarray);
return
arrlstArray;
}
VB
Public Shared Function
ConvertArrayToArrayList(ByVal strarray() As String, ByVal arrlstArray As ArrayList) As ArrayList
arrlstArray.AddRange(strarray)
Return
arrlstArray
End Function
I
hope this article will be very helpful to all. Thanks for reading this article.
“Keep reading and share the knowledge”
“Grow more trees to save
Earth”
No comments:
Post a Comment