I am new to the .NET development environment and am having a hard time understanding creating nested objects.
I would like is to create classes that expose only the nested objects and not the classes, like the following:
meter.voltage.dc
When I create the classes however I can not figure out how to hide the nested classes. So what I have is:
So it shows meter.voltage_ class as well as meter.voltage object.
How can I hide the meter.voltage_ class?
Thanks in advance.
I would like is to create classes that expose only the nested objects and not the classes, like the following:
meter.voltage.dc
When I create the classes however I can not figure out how to hide the nested classes. So what I have is:
VB.NET:
Public class meter_
Public class voltage_
Public class dc_
end class
Public dc as dc_
Public sub new()
dc = new dc_
end sub
end class
Public voltage as voltage_
Public sub new()
voltage = new voltage_
end sub
end class
So it shows meter.voltage_ class as well as meter.voltage object.
How can I hide the meter.voltage_ class?
Thanks in advance.
Last edited by a moderator: