Waterside
asked on
Adding an object to a collection from inside a Class
I have on my page..
Public routes As New List(Of routeData)
In a class I want to use..
routes.Add(New routeData With {......})
But I get..
Reference to a non-shared member requires an object reference
How can I add to my list from within the class ?
Public routes As New List(Of routeData)
In a class I want to use..
routes.Add(New routeData With {......})
But I get..
Reference to a non-shared member requires an object reference
How can I add to my list from within the class ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.