Some help please.
I have created a class Building.
This class has 3 properties:
BuildingName as string
BuildingLevel as integer
and BuildingPoints as integer
Now I would like the property BuildingPoints to be an array, which i can fill with a list of integers
This is how BuildingPoints is defined in the code
Private BuildingPoints As Integer
Public Property NewBuidingpoint() As Integer
Get
Return BuildingPoints
End Get
Set(ByVal value As Integer)
BuildingPoints = value
End Set
End Property
now how do i properly define the BuildingPoint array and how do I fill it?
Thanks
I have created a class Building.
This class has 3 properties:
BuildingName as string
BuildingLevel as integer
and BuildingPoints as integer
Now I would like the property BuildingPoints to be an array, which i can fill with a list of integers
This is how BuildingPoints is defined in the code
Private BuildingPoints As Integer
Public Property NewBuidingpoint() As Integer
Get
Return BuildingPoints
End Get
Set(ByVal value As Integer)
BuildingPoints = value
End Set
End Property
now how do i properly define the BuildingPoint array and how do I fill it?
Thanks