Saturday, March 27, 2010
A namespace does not directly contain members such as fields or methods
Inside a namespace, the compiler only accepts classes, structures, unions, enumerations, interfaces, and delegates. If you have declared any methods directly in namespace (i.e, outside a class/strucutre) the following error occurs

Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment