Export (0) Print
Expand All
Expand Minimize

Compiler Error CS0576

Namespace '' already contains a definition for 'System'

An attempt was made to use the System namespace twice.

The following sample generates CS0576:

// CS0576.cs
using System.Collections;
using System = System.Collections;   // CS0576, delete this line

public class z
{
   public static void Main()
   {
   }
}
Show:
© 2014 Microsoft