Is there any way that you can create an array to pass directly as a parameter? i.e. avoiding the need for the variable f in the following code and just putting the array elements in the call to the procedure:
It seems to me that there ought to be, but I can't figure out what it is.
Visual Basic:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim f() As String = {"ioj", "OIJ"}
hioh(f)
End Sub
Private Sub hioh(ByVal f() As String)
End Sub
End Class
It seems to me that there ought to be, but I can't figure out what it is.