2
Answers

Properties in vb.net, need help

in a class, i wrote this code 

 Public Property Changeaheight() As Integer


        Get
            Return newValue
        End Get

        Set(ByVal value As Integer)

            newValue = value

        End Set
    End Property

and int shows me an error int the newValue parameter. this kind of error: 
newValue' is not declared. It may be inaccessible due to its protection level

Answers (2)