Export (0) Print
Expand All
Expand Minimize

Compiler Error CS0426 

Error Message

The type name 'identifier' does not exist in the type 'type'

The type name could not be found in the type specified. Check the spelling of the names used, and verify that the type referenced has the expected member.

The following sample generates CS0426:

// CS0426.cs

class C
{
}

class D
{
   public static void Main()
   {
      C.A a;  // CS0426
   }
}

Community Additions

ADD
Show:
© 2014 Microsoft