I have a class in a dll that I would like to initialize some variables. To assign a value with single data fields is not a problem but how can I assign a value to an array within a class?
No problem assigning a value to this field
But how do I initialize this array?
No problem assigning a value to this field
Code:
Protected pReactance As Double = 0.0
Public Property Reactance() As Double
Get
Return pReactance
End Get
Set(ByVal value As Double)
pReactance = value
End Set
End Property
Code:
Protected ccktGroup(0 To 169) As String
Public Property CktGroup(ByVal x As Integer) As String
Get
Return ccktGroup(x)
End Get
Set(ByVal value As String)
ccktGroup(x) = value
End Set
End Property