Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Summary

In this chapter’s primer to statements, we started by looking at treating expressions as statements, and then explored blocks and declarations to set the scene. Next, the bare-essential control flow mechanisms, such as selection and loop statements, were explored. You even got a peek at iterators, which are the essential glue that binds LINQ to Objects, as you will see later.

To further understand control flow, we looked at the (mostly) evil goto statement and return statements. There’s more to be told about more advanced control flow with regard to exceptions and mechanisms to ensure proper resource clean-up, which are part of the next chapter.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial