Error in .net "A namespace does not directly contain members such as fields or methods"
plz give solution
Collapse
X
-
Tags: None
-
A namespace is a container into which you can put classes (and other things such as structures). Methods and variables cannot be placed directly in a namespace; they must be placed into a class (or something similar) which is then placed into a namespace.
Originally posted by neoupadhyayError in .net "A namespace does not directly contain members such as fields or methods"
Comment