Programming C# 5.0
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-2041-6 (ISBN)
- Titel ist leider vergriffen;
keine Neuauflage - Artikel merken
Completely rewritten for experienced programmers, this book provides many code examples to help you work with the nuts and bolts of C# code, such as generics, dynamic typing, and the new asynchronous programming features. You’ll also get up to speed on XAML, ASP.NET, LINQ, and other .NET tools.
- Discover how C# supports fundamental coding features such as classes, other custom types, collections, and error handling
- Understand the differences between dynamic and static typing in C#
- Query and process diverse data sources such as in-memory object models, databases, and XML documents with LINQ
- Use .NET’s multithreading features to exploit your computer’s parallel processing capabilities
- Learn how the new asynchronous language features can help improve application responsiveness and scalability
- Use XAML to create Windows 8-style, phone, and classic desktop applications
With its support for dynamic programming, C# 5.0 continues to evolve as a versatile language on its own. But when C# is used with .NET Framework 4.5, the combination is incredibly powerful. This bestselling tutorial shows you how to build web, desktop, Metro and rich Internet applications using C# 5.0 with .NET's database capabilities, UI framework (WPF), extensive communication services (WCF), and more. In this edition, .NET experts Ian Griffiths and Jesse Liberty cover the latest enhancements to C#, as well as the fundamentals of both the language and the framework. You'll learn concurrent and asynchronous programming with C# 5.0 and how to use .NET tools such as the Entity Framework for easier data access. Learn C# fundamentals such as variables, flow control, loops, and methods Build complex programs with object-oriented and functional programming techniques Process large collections of data with the native query features in LINQ Learn all about asynchrony new to C# 5.0
Ian Griffiths is an independent WPF consultant, developer, speaker and Pluralsight instructor and a widely recognized expert on the subject. He lives in London but can often be found on various developer mailing lists and newsgroups, where a popular sport is to see who can get him to write the longest email in reply to the shortest possible question. Ian maintains a popular blog at http://www.interact-sw.co.uk/iangblog/ and is co-author of "Windows Forms in a Nutshell" and of "Mastering Visual Studio .NET".
Chapter 1 Introducing C#
Why C#?
Why Not C#?
C#’s Defining Features
Visual Studio
Anatomy of a Simple Program
Summary
Chapter 2 Basic Coding in C#
Local Variables
Statements and Expressions
Comments and Whitespace
Preprocessing Directives
Intrinsic Data Types
Operators
Flow Control
Summary
Chapter 3 Types
Classes
Structs
Members
Interfaces
Enums
Other Types
Partial Types and Methods
Summary
Chapter 4 Generics
Generic Types
Constraints
Zero-Like Values
Generic Methods
Inside Generics
Summary
Chapter 5 Collections
Arrays
List
List and Sequence Interfaces
Implementing Lists and Sequences
Dictionaries
Sets
Queues and Stacks
Linked Lists
Concurrent Collections
Tuples
Summary
Chapter 6 Inheritance
Inheritance and Conversions
Interface Inheritance
Generics
System.Object
Accessibility and Inheritance
Virtual Methods
Sealed Methods and Classes
Accessing Base Members
Inheritance and Construction
Special Base Types
Summary
Chapter 7 Object Lifetime
Garbage Collection
Destructors and Finalization
IDisposable
Boxing
Summary
Chapter 8 Exceptions
Exception Sources
Handling Exceptions
Throwing Exceptions
Exception Types
Unhandled Exceptions
Asynchronous Exceptions
Summary
Chapter 9 Delegates, Lambdas, and Events
Delegate Types
Inline Methods
Events
Delegates Versus Interfaces
Summary
Chapter 10 LINQ
Query Expressions
Deferred Evaluation
LINQ, Generics, and IQueryable
Standard LINQ Operators
Sequence Generation
Other LINQ Implementations
Summary
Chapter 11 Reactive Extensions
Rx and .NET Versions
Fundamental Interfaces
Publishing and Subscribing with Delegates
Sequence Builders
LINQ Queries
Rx Query Operators
Schedulers
Subjects
Adaptation
Timed Operations
Summary
Chapter 12 Assemblies
Visual Studio and Assemblies
Anatomy of an Assembly
Type Identity
Loading Assemblies
Assembly Names
Portable Class Libraries
Packaged Deployment
Protection
Summary
Chapter 13 Reflection
Reflection Types
Reflection Contexts
Summary
Chapter 14 Dynamic Typing
The dynamic Type
dynamic and Interoperability
Inside Dynamic
Limitations of dynamic
Summary
Chapter 15 Attributes
Applying Attributes
Defining and Consuming Custom Attributes
Summary
Chapter 16 Files and Streams
The Stream Class
Windows 8 and IRandomAccessStream
Text-Oriented Types
Files and Directories
Serialization
Summary
Chapter 17 Multithreading
Threads
Synchronization
Tasks
Other Asynchronous Patterns
Cancellation
Parallelism
Summary
Chapter 18 Asynchronous Language Features
Asynchronous Keywords: async and await
The await Pattern
Error Handling
Summary
Chapter 19 XAML
XAML-Based Frameworks
XAML Basics
Layout
Controls
Text
Data Binding
Graphics
Styles
Summary
Chapter 20 ASP.NET
Razor
Web Forms
MVC
Routing
Summary
Chapter 21 Interoperability
Calling Native Code
Platform Invoke
COM
Windows Runtime
Unsafe Code
C++/CLI and the Component Extensions
Summary
Colophon
Erscheint lt. Verlag | 6.11.2012 |
---|---|
Zusatzinfo | Illustrations |
Verlagsort | Sebastopol |
Sprache | englisch |
Maße | 178 x 233 mm |
Gewicht | 1406 g |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► NET Programmierung |
Informatik ► Programmiersprachen / -werkzeuge ► C# | |
Informatik ► Software Entwicklung ► Objektorientierung | |
Informatik ► Web / Internet ► Web Design / Usability | |
ISBN-10 | 1-4493-2041-4 / 1449320414 |
ISBN-13 | 978-1-4493-2041-6 / 9781449320416 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich