plz give solution

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neoupadhyay
    New Member
    • Feb 2007
    • 57

    plz give solution

    Error in .net "A namespace does not directly contain members such as fields or methods"
  • enreil
    New Member
    • Jan 2007
    • 86

    #2
    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 neoupadhyay
    Error in .net "A namespace does not directly contain members such as fields or methods"

    Comment

    Working...