How do I pass an arrayList to a function?

Hi, I think more detail required

But some guess

If you have function like this

Public Function ProcessArrayList(ByVal AL As ArrayList) As ArrayList
        AL.Add("Good")
        Return AL
    End Function

you can pass Array list like

Dim AL As ArrayList = New ArrayList
        ProcessArrayList(AL)
        MessageBox.Show(AL.Count)