I'm creating RecentFiles class contains
I don't want Items change from outside the class like this
Code:
Private mstrItems As List(Of String)
Public Property Items() As List(Of String)
Get
Return mstrItems
End Get
Set(ByVal value As List(Of String))
mstrItems = value
' Do some stuff
End Set
End Property
I don't want Items change from outside the class like this
Code:
rf = New RecentFiles
rf.Items.Add("some value")