public class main
public sub main()
dim a as new Apple("Red")
a.Color = "Car"
end sub
end class
public class Apple
Public Property Color() As String
public sub new(color_ as String)
Color = color_
end sub
end class
No, not even slightly. You still seem to think a field and property is the same thing, which they are not. Perhaps if you think of fields as containers, and properties as container transport vehicles, that will help you understand the difference? A property can not hold a value, it can only transport a value to and from a field.Does that honestly not make sense to you?