Working with Tasks

One of the most exciting IDE enhancements from previous versions of Visual Studio, in my opinion, is the new Task List. Tasks are really all about managing code. If your Task List window isn't displayed, show it now by choosing View, Show Tasks and then choosing All. Tasks are used to keep track of critical spots in code or things that need to be done. Visual C# .NET automatically creates some tasks for you, and you can create your own as needed.

One instance in which Visual C# .NET creates tasks is when your code has compile (build) errors. Because Visual C# .NET knows the exact error and the offending statement, it creates an appropriate task. Figure 10.10 shows the Task List containing a build error. Notice how the task's ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.