I Want to make a class accept string variable like this
Dim mystring as custstring mystring = "test var"
like how we declare string classes
I tried to use property as such
Public class cust dim inputstr as string = "" Public Property cust() As String Get Return inputstr.ToString() End Get Set(ByVal value As String) inputstr = value End Set End Property End Class
But it doesnt seem to work
thnx in advnc