แก้ไข

แชร์ผ่าน


C# Compiler Errors

Some C# compiler errors have corresponding topics that explain why the error is generated, and, in some cases, how to fix the error. Use one of the following steps to see whether help is available for a particular error message.

  • If you're using Visual Studio, choose the error number (for example, CS0029) in the Output Window, and then choose the F1 key.
  • Type the error number in the Filter by title box in the table of contents.

If none of these steps leads to information about your error, go to the end of this page, and send feedback that includes the number or text of the error.

For information about how to configure error and warning options in C#, see C# compiler options or the Visual Studio Build Page, Project Designer (C#).

Note

Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Personalizing the IDE.

See also