03.01.2015 Views

C# 5.0 Programmer's Reference

Visual Studio 2013 C# 5.0 Programmer's Reference

Visual Studio 2013 C# 5.0 Programmer's Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INTRODUCTION<br />

Part V: Advanced Topics<br />

Chapters 21 through 27 cover more advanced topics that are useful in many advanced applications.<br />

They include such topics as recognizing patterns in text, parallel programming, using databases,<br />

serialization, reflection, and encrypting and decrypting data.<br />

Part VI: Appendices<br />

Appendix A, “Solutions to Exercises,” provides outlines of solutions to the exercises described at<br />

the end of each chapter. Programs that implement many of the solutions are available for download<br />

on the book’s website. This appendix shows the most interesting parts of many of the programs,<br />

but to save space I omitted some of the less interesting details. Download the examples from<br />

www.wrox.com/go/csharp5programmersref to see all the code.<br />

The book’s other appendices provide a categorized reference of the <strong>C#</strong> language. You can use them<br />

to quickly review the syntax of a particular command or refresh your memory of what a particular<br />

class can do. The chapters earlier in the book give more context, explaining how to perform specific<br />

tasks and why one approach might be better than another. The appendices provide a brief summary.<br />

How to Use This Book<br />

If you are an advanced <strong>C#</strong> programmer, you may want to skim the language basics covered in the first<br />

parts of the book. You still may find a few new details, so you might not want to skip these chapters<br />

entirely, but most of the basic language features are the same as in previous versions of <strong>C#</strong>.<br />

Each chapter ends with a set of exercises you can use to test your understanding of the material<br />

covered in the chapter. Sometimes exercises point to more in-depth topics that don’t fit well in the<br />

chapter’s text. Even if you’re an advanced <strong>C#</strong> developer, you may want to read the exercises to<br />

make sure you didn’t miss anything.<br />

Intermediate programmers and those with less <strong>C#</strong> experience should take these chapters a bit more<br />

slowly. The chapters in Part III, “Object-Oriented Programming,” cover particularly tricky topics.<br />

Learning all the variations on inheritance and interfaces can be rather confusing. If you are unfamiliar<br />

with these topics, plan to spend some extra time on those chapters.<br />

Particularly if you have experience with some other programming language but not <strong>C#</strong>, you should<br />

spend some extra time on these first ten or so chapters because they set the stage for the material that<br />

follows. It will be a lot easier for you to follow a discussion of file management or regular expressions<br />

if you are not confused by the error-handling code that the examples take for granted.<br />

Programming is a skill best learned by doing. You can pick up the book and read through it quickly<br />

if you like (well, as quickly as you can, given how long it is), but the information is more likely to<br />

stick if you open Visual Studio and experiment with some programs of your own.<br />

Throughout your work, you can refer to the appendices to get information on specific classes, controls,<br />

and syntax. For example, you can turn to Appendix R, “Streams,” to quickly find classes you can use<br />

www.it-ebooks.info<br />

xxxvii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!