Export (0) Print
Expand All
Expand Minimize

Compiler Error CS1675 

Error Message

Enums cannot have type parameters

To resolve this error, remove the type parameter from the enum declaration.

Example

The following sample generates CS1675:

// CS1675.cs
enum E<T>  // CS1675
{
}

class CMain
{
    public static void Main()
    {
    }
}

Community Additions

ADD
Show:
© 2015 Microsoft