i get 1 error
Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class.
here is my code
Public Class test
Private _course As String
Public Shared Function function1(ByVal data As String) As Boolean
' Code
' bla bla bla
' ....
process(x, y)
Return True
End Function
Private Shared Sub process(ByVal x As String(), ByVal y As String)
' Code
' bla bla bla
' ....
course = x(0) '<-------- HERE!!!!
End Sub
Property course() As String
Get
Return _course
End Get
Set(ByVal value As String)
_course = value
End Set
End Property
End Class
what is wrong?and how can i fix it?