- Used Books
- Kobo eReading
- Staff Picks
- Gifts & Gift Cards
- Sell Books
- Stores & Events
Special Offers see all
More at Powell's
Recently Viewed clear list
New Trade Paper
Ships in 1 to 3 days
Other titles in the Microsoft Windows Development series:
Essential C# 5.0 (Microsoft .Net Development)by Mark Michaelis
Synopses & Reviews
From the Preface
Throughout the history of software engineering, the methodology used to write computer programs has undergone several paradigm shifts, each building on the foundation of the former by increasing code organization and decreasing complexity. This book takes you through these same paradigm shifts.
The beginning chapters take you through sequential programming structure in which statements are written in the order in which they are executed. The problem with this model is that complexity increases exponentially as the requirements increase. To reduce this complexity, code blocks are moved into methods, creating a structured programming model. This allows you to call the same code block from multiple locations within a program, without duplicating code. Even with this construct, however, programs quickly become unwieldy and require further abstraction. Object-oriented programming, discussed in Chapter 5, was the response. In subsequent chapters, you will learn about additional methodologies, such as interface-based programming, LINQ (and the transformation it makes to the collection API), and eventually rudimentary forms of declarative programming (in Chapter 17) via attributes.
This book has three main functions.
The key to successfully learning C# is to start coding as soon as possible. Don’t wait until you are an “expert” in theory; start writing software immediately. As a believer in iterative development, I hope this book enables even a novice programmer to begin writing basic C# code by the end of Chapter 2.
A number of topics are not covered in this book. You won’t find coverage of topics such as ASP.NET, ADO.NET, smart client development, distributed programming, and so on. Although these topics are relevant to the .NET Framework, to do them justice requires books of their own. Fortunately, Addison-Wesley’s Windows Development Series provides a wealth of writing on these topics. Essential C# 5.0 focuses on C# and the types within the Base Class Library. Reading this book will prepare you to focus on and develop expertise in any of the areas covered by the rest of the series.
Essential C# 5.0 is a well-organized, no-fluff guide to the latest versions of C# for programmers at all levels of C# experience. Fully updated to reflect new features and programming patterns introduced with C# 5.0 and .NET 4.5, this guide shows you how to write C# code that is simple, powerful, robust, secure, and maintainable. Microsoft MVP Mark Michaelis and C# principal developer Eric Lippert provide comprehensive coverage of the entire language, offering a complete foundation for effective software development.
The authors illustrate key constructs with succinct, downloadable code examples. Graphical mind maps at the beginning of each chapter outline the material that is covered and how individual topics interrelate. This edition also includes C# Coding Guidelines that call attention to today’s best practices for writing C# code. Separate indexes of C# versions 3.0, 4.0, and 5.0 make it easy to find answers specific to whatever version of C# you are using.
Throughout, topics intended for beginners and advanced readers are clearly marked. If you’re new to C#, this guide will help you start writing significant code quickly. If you’re an experienced C# developer, you’ll gain insight into today’s most complex programming challenges and techniques as you master key C# 5.0 innovations such as async/await pattern. No matter how advanced your skills become, you’ll come to rely on this indispensable reference.
Essential C# 5.0 is a clear, concise, in-depth guide to C#, with the most detailed coverage of any book on the features new to version 5.0. It clearly presents material for beginners and experienced C# programmers alike, and provides contrasts and comparisons between C# and other common languages. C# is covered comprehensively, and each important construct is illustrated with succinct code examples. The author has organized the material for quick, easy access. Graphical "mind maps" at the beginning of each chapter show what material is covered and how each topic relates to the whole. This edition includes coverage of Windows 8 and the new Windows run time (WinRT), two of the most important new features in C# 5.0. Whether you are an experienced developer looking to learn C#, or a seasoned C# programmer interested in learning the new features of C# 5.0, this book gives you just what you need to quickly get up and running writing C# 5.0 applications.
About the Author
Mark Michaelis recently started intelliTechture, a software engineering and consulting company with high-end skills in Microsoft VSTS/TFS, BizTalk, SharePoint, and .NET. Mark also serves as a chief software architect and trainer for IDesign Inc. For his “day job” he is an enterprise software architect at Itron Inc — a leading contributor to the next generation of energy technology. Mark holds a BA in philosophy from the University of Illinois and an MS in computer science from the Illinois Institute of Technology. In 2007, Mark was recognized as a Microsoft Regional Director. Starting in 1996, he has been a Microsoft MVP for C#, Visual Studio Team System, and the Windows SDK. He serves on several Microsoft software design review teams, including C#, the Connected Systems Division, and VSTS. Mark speaks at developer conferences and has written numerous articles and books. When not bonding with his computer, Mark is busy with his family or training for another triathlon (having completed the Ironman in 2008). Mark lives in Spokane, Washington, with his wife Elisabeth, and three children, Benjamin, Hanna, and Abigail.
Eric Lippert is a principal software design engineer at Microsoft. He has been working full time in the developer division since 1996, where he assisted with the design and implementation of VBScript, JScript, JScript .NET, Windows Script Host, Visual Studio Tools for Office and C#. Though he maintaines a technical blog about the design, implementation and use of programming languages, he has occasionally delved into other interests such as ancient Greek politics, music theory, and relationship advice. When he is not designing and implementing programming languages he can be found writing and editing technical books, sailing small craft, playing the piano, attending live theater, and collecting books about the life and works of J.R.R. Tolkien. He lives in Seattle with his wife Leah and cat, Minerva.
Worth noting, Eric has one of the most popular developer blogs in the Microsoft programming community.
Table of Contents
Chapter 1-Introducing C#
Chapter 2-Data Types
Chapter 3-Operators and Control Flow
Chapter 4-Methods and Parameters
Chapter 8-Value Types
Chapter 9-Well-Formed Types
Chapter 10-Exception Handling
Chapter 12-Delegates and Lambda Expressions
Chapter 14-Collection Interfaces with Standard Query Operators
Chapter 15-Query Expressions
Chapter 16-Building Custom Collections
Chapter 17-Reflection, Attributes, and Dynamic Programming
Chapter 19- Synchronization and Other Multithreading Patterns
Chapter 20-Platform Interoperability and Unsafe Code
Chapter 21-The Common Language Infrastructure
Appendix A-Downloading and Installing the C# Compiler and the CLI Platform
Appendix B-Full Source Code Listings
Appendix C-Concurrent Classes from System.Collections.Concurrent
Appendices D, E, and F and G indices on releases 2.0, 3.0, and 4.0, and 5.0, respectively
What Our Readers Are Saying