CLR via C# (4th Edition) (Developer Reference)

CLR via C# (4th Edition) (Developer Reference)

Language: English

Pages: 896

ISBN: 0735667454

Format: PDF / Kindle (mobi) / ePub

Dig deep and master the intricacies of the common language runtime, C#, and .NET development. Led by programming expert Jeffrey Richter, a longtime consultant to the Microsoft .NET team - you’ll gain pragmatic insights for building robust, reliable, and responsive apps and components.

  • Fully updated for .NET Framework 4.5 and Visual Studio 2012
  • Delivers a thorough grounding in the .NET Framework architecture, runtime environment, and other key topics, including asynchronous programming and the new Windows Runtime
  • Provides extensive code samples in Visual C# 2012
  • Features authoritative, pragmatic guidance on difficult development concepts such as generics and threading

    Web Application Development with Yii and PHP (2nd Edition)

    Craniofacial Embryogenetics and Development (2nd Edition)

    New Venture Creation: Entrepreneurship for the 21st Century (9th Edition)

    Bandit Algorithms for Website Optimization



















    he bought me dinner. But no one can tell you more about this book than I can. I mean, Catherine could give you a mobile makeover, but I know all kinds of stuff about reflection and exceptions and C# language updates because he has been talking on and on about it for years. This is standard dinner conversation in our house! Other people talk about the weather or stuff they heard at the water cooler, but we talk about .NET. Even Aidan, our six-year-old, asks questions about Jeff’s book. Mostly

    are fictitious. No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred. This book expresses the author’s views and opinions. The information contained in this book is provided without any express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers, or distributors will be held liable for any damages caused or alleged to be caused either directly or

    Chapter 2  Building, Packaging, Deploying, and Administering Applications and Types 33 The .NET Framework addresses the DLL hell issue in a big way, as you’ll see while reading this chapter and Chapter 3. It also goes a long way toward fixing the problem of having an application’s state scattered all over a user’s hard disk. For example, unlike COM, types no longer require settings in the registry. Unfortunately, applications still require shortcut links. As for security, the .NET Framework

    Each entry includes flags and name. As the compiler compiles your source code, everything your code defines causes an entry to be created in one of the tables described in Table 2-1. Metadata table entries are also created as the compiler detects the types, fields, methods, properties, and events that the source code references. The metadata created includes a set of reference tables that keep a record of the referenced items. Table 2-2 shows some of the more common reference metadata tables.

    On the other hand, if you’re adding new features to your assembly, you should consider the assembly to have no relationship to a previous version, and you shouldn’t ship a publisher policy assembly. In addition, there’s no need to do any backward compatibility testing with such an assembly. Chapter 4 Type Fundamentals In this chapter: All Types Are Derived from System.Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Casting Between Types

    Download sample