reference to non shared member requires an object code example Example: reference to a non-shared member requires an object reference vb.net Dim gen = New General()