G
Guest
Hi,
I have a multidimensional Array (2 dimensions). I'd like to hand that over
to another function (respective another thread in another class, but that
should be the same, shouldn't it?).
Part of the calling function:
Dim StatCreator As New Statistik(Datei_Inhalt())
And the destination class:
Public Class Statistik
Dim Array()() As String
Public Sub New(ByVal MeinArray()() As String)
Array = MeinArray.Clone
End Sub
Problem: syntax. It won't let me do ...new Statistik(Datei_Inhalt()()... nor
Datei_Inhalt or anything else I've tried.
Does anyone know how that works?
I have a multidimensional Array (2 dimensions). I'd like to hand that over
to another function (respective another thread in another class, but that
should be the same, shouldn't it?).
Part of the calling function:
Dim StatCreator As New Statistik(Datei_Inhalt())
And the destination class:
Public Class Statistik
Dim Array()() As String
Public Sub New(ByVal MeinArray()() As String)
Array = MeinArray.Clone
End Sub
Problem: syntax. It won't let me do ...new Statistik(Datei_Inhalt()()... nor
Datei_Inhalt or anything else I've tried.
Does anyone know how that works?