Why is it when i add a watch to the new instance of the "NeuralNetwork" i see the _Layers property? Even though it's Private.
Madaxe
Madaxe
VB.NET:
Friend Class NeuralNetwork
Private _Layers As New List(Of Layer)
Public ReadOnly Property Layers() As List(Of Layer)
Get
Return _layers
End Get
End Property
End Class
Friend Class Layer
Private _Neurons As New List(Of Neuron)
Public ReadOnly Property Neurons() As List(Of Neuron)
Get
Return _Neurons
End Get
End Property
End Class
Friend Class Neuron
End Class