• Complain

Joseph Albahari - C# 5.0 in a Nutshell: The Definitive Reference

Here you can read online Joseph Albahari - C# 5.0 in a Nutshell: The Definitive Reference full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2012, publisher: OReilly Media, Inc., genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Joseph Albahari C# 5.0 in a Nutshell: The Definitive Reference
  • Book:
    C# 5.0 in a Nutshell: The Definitive Reference
  • Author:
  • Publisher:
    OReilly Media, Inc.
  • Genre:
  • Year:
    2012
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

C# 5.0 in a Nutshell: The Definitive Reference: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "C# 5.0 in a Nutshell: The Definitive Reference" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Offers a reference to key C# programming concepts covering language elements, syntax, datatypes, and tasks.

Joseph Albahari: author's other books


Who wrote C# 5.0 in a Nutshell: The Definitive Reference? Find out the surname, the name of the author of the book and a list of all author's works by series.

C# 5.0 in a Nutshell: The Definitive Reference — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "C# 5.0 in a Nutshell: The Definitive Reference" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
C# 5.0 in a Nutshell
Joseph Albahari
Ben Albahari
Published by OReilly Media

Beijing Cambridge Farnham Kln Sebastopol Tokyo SPECIAL OFFER Upgrade this - photo 1

Beijing Cambridge Farnham Kln Sebastopol Tokyo

SPECIAL OFFER: Upgrade this ebook with OReilly

for more information on this offer!

Please note that upgrade offers are not available from sample content.

Preface

C# 5.0 represents the fourth major update to Microsofts flagship programming language, positioning C# as a language with unusual flexibility and breadth. At one end, it offers high-level abstractions such as query expressions and asynchronous continuations, while at the other end, it provides low-level power through constructs such as custom value types and the optional use of pointers.

The price of this growth is that theres more than ever to learn. Although tools such as Microsofts IntelliSenseand online referencesare excellent in helping you on the job, they presume an existing map of conceptual knowledge. This book provides exactly that map of knowledge in a concise and unified stylefree of clutter and long introductions.

Like the past two editions, C# 5.0 in a Nutshell is organized entirely around concepts and use cases, making it friendly both to sequential reading and to random browsing. It also plumbs significant depths while assuming only basic background knowledgemaking it accessible to intermediate as well as advanced readers.

This book covers C#, the CLR, and the core Framework assemblies. Weve chosen this focus to allow space for difficult topics such as concurrency, security, and application domainswithout compromising depth or readability. Features new to C# 5.0 and the associated Framework are flagged so that you can also use this book as a C# 4.0 reference.

Intended Audience

This book targets intermediate to advanced audiences. No prior knowledge of C# is required, but some general programming experience is necessary. For the beginner, this book complements, rather than replaces, a tutorial-style introduction to programming.

If youre already familiar with C# 4.0, youll find a reorganized section on concurrency, including thorough coverage of C# 5.0s asynchronous functions and its associated types. We also describe the principles of asynchronous programming and how it helps with efficiency and thread-safety.

This book is an ideal companion to any of the vast array of books that focus on an applied technology such as WPF, ASP.NET, or WCF. The areas of the language and .NET Framework that such books omit, C# 5.0 in a Nutshell covers in detailand vice versa.

If youre looking for a book that skims every .NET Framework technology, this is not for you. This book is also unsuitable if you want to learn about APIs specific to tablet or Windows Phone development.

How This Book Is Organized

The first three chapters after the introduction concentrate purely on C#, starting with the basics of syntax, types, and variables, and finishing with advanced topics such as unsafe code and preprocessor directives. If youre new to the language, you should read these chapters sequentially.

The remaining chapters cover the core .NET Framework, including such topics as LINQ, XML, collections, code contracts, concurrency, I/O and networking, memory management, reflection, dynamic programming, attributes, security, application domains, and native interoperability. You can read most of these chapters randomly, except for Chapters .

What You Need to Use This Book

The examples in this book require a C# 5.0 compiler and Microsoft .NET Framework 4.5. You will also find Microsofts .NET documentation useful to look up individual types and members (which is available online).

While its possible to write source code in Notepad and invoke the compiler from the command line, youll be much more productive with a code scratchpad for instantly testing code snippets, plus an Integrated Development Environment (IDE) for producing executables and libraries.

For a code scratchpad, download LINQPad 4.40 or later from www.linqpad.net (free). LINQPad fully supports C# 5.0 and is maintained by one of the authors.

For an IDE, download Microsoft Visual Studio 2012: any edition is suitable for whats taught in this book, except the free express edition.

Note

All code listings for , plus the chapters on concurrency, parallel programming, and dynamic programming are available as interactive (editable) LINQPad samples. You can download the whole lot in a single click: go to LINQPads Samples tab at the bottom left, click Download more samples, and choose C# 5.0 in a Nutshell.

Conventions Used in This Book

The book uses basic UML notation to illustrate relationships between types, as shown in . A slanted rectangle means an abstract class; a circle means an interface. A line with a hollow triangle denotes inheritance, with the triangle pointing to the base type. A line with an arrow denotes a one-way association; a line without an arrow denotes a two-way association.

Figure 1 Sample diagram The following typographical conventions are used in - photo 2

Figure 1. Sample diagram

The following typographical conventions are used in this book:

Italic

Indicates new terms, URIs, filenames, and directories

Constant width

Indicates C# code, keywords and identifiers, and program output

Constant width bold

Shows a highlighted section of code

Constant width italic

Shows text that should be replaced with user-supplied values

Tip

This icon signifies a tip, suggestion, or general note.

Caution

This icon indicates a warning or caution.

Using Code Examples

This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from OReilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.

We appreciate, but do not require, attribution. For example: C# 5.0 in a Nutshell by Joseph Albahari and Ben Albahari. Copyright 2012 Joseph Albahari and Ben Albahari, 978-1-449-32010-2.

If you feel your use of code examples falls outside fair use or the permission given here, feel free to contact us at .

Safari Books Online
Note

Safari Books Online (www.safaribooksonline.com) is an on-demand digital library that delivers expert content in both book and video form from the worlds leading authors in technology and business.

Technology professionals, software developers, web designers, and business and creative professionals use Safari Books Online as their primary resource for research, problem solving, learning, and certification training.

Safari Books Online offers a range of product mixes and pricing programs for organizations, government agencies, and individuals. Subscribers have access to thousands of books, training videos, and prepublication manuscripts in one fully searchable database from publishers like OReilly Media, Prentice Hall Professional, Addison-Wesley Professional, Microsoft Press, Sams, Que, Peachpit Press, Focal Press, Cisco Press, John Wiley & Sons, Syngress, Morgan Kaufmann, IBM Redbooks, Packt, Adobe Press, FT Press, Apress, Manning, New Riders, McGraw-Hill, Jones & Bartlett, Course Technology, and dozens more. For more information about Safari Books Online, please visit us online.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «C# 5.0 in a Nutshell: The Definitive Reference»

Look at similar books to C# 5.0 in a Nutshell: The Definitive Reference. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «C# 5.0 in a Nutshell: The Definitive Reference»

Discussion, reviews of the book C# 5.0 in a Nutshell: The Definitive Reference and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.