This documentation is archived and is not being maintained.

C# Compiler Errors 

This section contains C# compiler errors listed numerically. All C# compiler errors have corresponding topics that explain why an error is generated, and in some cases, how to fix the error. To get Help on a particular error message, try one of the following:

  • Click the error number in the Output Window, and press F1.

  • Type the error number in the Look for box in the Index.

  • Type the error number in the Search page.

  • Locate the error in the Contents list.


The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

See Also

Other Resources

C# Compiler Options