This documentation is archived and is not being maintained.

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()