Where to find features new in c 40 and net 4 although

Info icon This preview shows pages 19–22. Sign up to view the full content.

View Full Document Right Arrow Icon
Where to Find Features New in C# 4.0 and .NET 4 Although this book is written to be read as a whole, we expect that some readers will want to look for the features new to C# 4.0, and also to .NET 4. Since our goal is to show how the C# language is used today, we have avoided structuring the book around Preface | xvii
Image of page 19

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
the history of the language, because you will use language features of varying ages in combination. As it happens, one of the new features in C# 4.0 serves a very specific purpose, so it gets its own chapter, but for the most part, new language features are spread throughout the book, because we aim to mention them where you need to know about them. We cannot point you at a particular set of chapters, so instead, here’s a quick guide to where we discuss these features. Chapter 1 talks about the broad goals behind the new features in C# 4.0. Chapter 3 shows the use of default values and named arguments (and these come up again very briefly in Chapters 11 and 17 ). Chapter 7 describes variance, a rather technical feature of the type system that has some useful implications for collection types. Chapter 16 talks about the extensive new multithreading support added in .NET 4. Chapter 18 is dedicated entirely to a new language feature: support for dynamic programming. Chapter 19 describes the new no-PIA feature, and some features that allow more elegant code in some interop scenarios. Who This Book Is For If you have some basic knowledge of C# but want to brush up your skills, or if you are proficient in another programming language such as C++ or Java, or even if C# is your first programming language, this book is for you. What You Need to Use This Book To make the best use of this book, please obtain the latest release of Visual Studio 2010. Any edition will do, including the free Express edition for C#, which can be downloaded from http://www.microsoft.com/express/ . For Chapter 14 you will need a copy of SQL Server or SQL Server Express. Some editions of Visual Studio will install SQL Server Express for you by default, so you may already have this. The example source code for this book is available through the O’Reilly site at http:// oreilly.com/catalog/9780596159832/ . Conventions Used in This Book The following font conventions are used in this book: Italic is used for: Pathnames, filenames, and program names Internet addresses, such as domain names and URLs New terms where they are defined xviii | Preface
Image of page 20
Constant Width is used for: Command lines and options that should be typed verbatim Names and keywords in program examples, including method names, variable names, and class names Constant Width Italic is used for: Replaceable items, such as variables or optional elements, within syntax lines or code Constant Width Bold is used for: Emphasis within program code Pay special attention to notes set apart from the text with the following icons: This is a tip. It contains useful supplementary information about the topic at hand.
Image of page 21

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 22
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern