Class data
Private dmyarray() As Boolean
Public Property myarray() As Boolean()
Get
Return dmyarray
End Get
Set(ByVal value As Boolean())
dmyarray = value
End Set
End Property
End Class
ASKER
Public Class world
Public Class strings
Private _pruebas As New List(Of StringsForWorld)
Public Property strings() As List(Of world.StringsForWorld)
Get
Return _pruebas
End Get
Set(ByVal value As List(Of world.StringsForWorld))
_pruebas = value
End Set
End Property
Public Sub New()
strings = New List(Of StringsForWorld)
End Sub
End Class
Public Class StringsForWorld
Private _StringA As String
Public Property StringA() As String
Get
Return _StringA
End Get
Set(ByVal value As String)
_StringA = value
End Set
End Property
Private _StringB As String
Public Property StringB() As String
Get
Return _StringB
End Get
Set(ByVal value As String)
_StringB = value
End Set
End Property
Public Sub New(ByVal FirstString As String, ByVal SecondString As String)
StringA = FirstString
StringB = SecondString
End Sub
End Class
End Class
ASKER
ASKER
Public Class test
Private _NmyProperty As New ArrayList
Public Property myProperty() As ArrayList
Get
Return _NmyProperty
End Get
Set(ByVal value As ArrayList)
_NmyProperty = value
End Set
End Property
End Class
ASKER
public class test
Private dmylist(,) As ArrayList
Public Property mylist() As ArrayList(,)
Get
Return dmylist
End Get
Set(ByVal value As ArrayList(,))
dmylist = value
End Set
End Property
End class
ASKER
ASKER
ASKER
Visual Basic .NET (VB.NET) is an object-oriented programming language implemented on the .NET framework, but also supported on other platforms such as Mono and Silverlight. Microsoft launched VB.NET as the successor to the Visual Basic language. Though it is similar in syntax to Visual Basic pre-2002, it is not the same technology,
TRUSTED BY
ASKER
this is what i need to do
Open in new window
But checking on several forums a lot of programmers says that is better to use a list instead an array as property
Somebody know the reazon of that???