dkim18
asked on
Can I declare the size of property array in vb.net?
Can I declare the size of the array in the Property using the auto implement?
public class MySettings
public Property LocalRooms() As new Double (3) <== I get an error saying there is no Double constructor
End class
Do I need to do it in the constructor?
public class MySettings
public Property LocalRooms() As new Double (3) <== I get an error saying there is no Double constructor
End class
Do I need to do it in the constructor?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Either do full property or initialize it in constructor.
Thanks.
Thanks.
Open in new window