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