Compile-Time Errors

In an ideal world, once the code is written, the developer would hit the Build button, and the computer would find all possible errors. Unfortunately, although compilers are getting better at identifying potential issues in the code beyond simple syntactical errors, they still cannot find all errors that may occur. The result is that after you build a project and see no errors, you will find errors when you run the application. We discuss run-time errors in the following sections, but because they are more expensive to identify and fix, you should strive to make the compiler do as much work for you as possible.

Note

Troubleshooting The compiler errors and warnings are displayed in the Error List dialog box, accessible from the ...

Get Microsoft® Mobile Development Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.