It has to do with the same old story I've posted weeks ago..... and I'm so angry about VB. Net
Someone solve me this one, please:
----------------------------------------
Someone solve me this one, please:
----------------------------------------
VB.NET:
Public Class Thinger
Private arrThings As ArrayList
Public Sub New()
Me.arrThings = New ArrayList()
End Sub
Public Sub AddThing(String thingId)
Dim x As New Thing(thingId)
Me.arrThings.Add(x)
End Sub
Public Function GetThings() As Thing()
Return CType(Me.arrThings.ToArray(?#@!?), Thing())
End Function
End Class