Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Cannot derive from 'identifier' because it is a type parameter
Base classes or interfaces for generic classes cannot be specified by a type parameter. Derive from a specific class or interface, or a specific generic class instead, or include the unknown type as a member.
The following sample generates CS0689:
// CS0689.cs
class A<T> : T // CS0689
{
}
.NET feedback
.NET is an open source project. Select a link to provide feedback: