NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error CS0010

Cannot declare a namespace and a type both named 'name'

A namespace and a user-defined type cannot have the same name.

For example, the following sample generates CS0010:

// compile without /stdlib to get mscorlib.dll and System namespace
class System {      // CS0010, use a different class name
   public static int Main() 
   {
   return(0); 
   }
}