Microsoft Visual C# 2010 Step by Step

Microsoft Visual C# 2010 Step by Step

by John Sharp

NOOK Book(eBook)

$20.49 $35.99 Save 43% Current price is $20.49, Original price is $35.99. You Save 43%.
View All Available Formats & Editions

Available on Compatible NOOK Devices and the free NOOK Apps.
WANT A NOOK?  Explore Now

Product Details

ISBN-13: 9780735646421
Publisher: Pearson Education
Publication date: 04/15/2010
Series: Step by Step Developer
Sold by: Barnes & Noble
Format: NOOK Book
Pages: 752
File size: 5 MB

About the Author

John Sharp is the author of Microsoft Windows Communication Foundation Step by Step and Microsoft Visual C# 2008 Step by Step. John is a principal technologist for Content Master Ltd., where he works on technology and training projects for a variety of international customers.

Table of Contents

Acknowledgments; Introduction; Who This Book Is For; Finding Your Best Starting Point in This Book; Conventions and Features in This Book; Prerelease Software; Hardware and Software Requirements; Code Samples; Find Additional Content Online; Support for This Book; Part I: Introducing Microsoft Visual C# and Microsoft Visual Studio 2010; Chapter 1: Welcome to C#; 1.1 Beginning Programming with the Visual Studio 2010 Environment; 1.2 Writing Your First Program; 1.3 Using Namespaces; 1.4 Creating a Graphical Application; 1.5 Chapter 1 Quick Reference; Chapter 2: Working with Variables, Operators, and Expressions; 2.1 Understanding Statements; 2.2 Using Identifiers; 2.3 Using Variables; 2.4 Working with Primitive Data Types; 2.5 Using Arithmetic Operators; 2.6 Incrementing and Decrementing Variables; 2.7 Declaring Implicitly Typed Local Variables; 2.8 Chapter 2 Quick Reference; Chapter 3: Writing Methods and Applying Scope; 3.1 Creating Methods; 3.2 Applying Scope; 3.3 Writing Methods; 3.4 Using Optional Parameters and Named Arguments; 3.5 Chapter 3 Quick Reference; Chapter 4: Using Decision Statements; 4.1 Declaring Boolean Variables; 4.2 Using Boolean Operators; 4.3 Using if Statements to Make Decisions; 4.4 Using switch Statements; 4.5 Chapter 4 Quick Reference; Chapter 5: Using Compound Assignment and Iteration Statements; 5.1 Using Compound Assignment Operators; 5.2 Writing while Statements; 5.3 Writing for Statements; 5.4 Writing do Statements; 5.5 Chapter 5 Quick Reference; Chapter 6: Managing Errors and Exceptions; 6.1 Coping with Errors; 6.2 Trying Code and Catching Exceptions; 6.3 Using Checked and Unchecked Integer Arithmetic; 6.4 Throwing Exceptions; 6.5 Using a finally Block; 6.6 Chapter 6 Quick Reference; Part II: Understanding the C# Language; Chapter 7: Creating and Managing Classes and Objects; 7.1 Understanding Classification; 7.2 The Purpose of Encapsulation; 7.3 Defining and Using a Class; 7.4 Controlling Accessibility; 7.5 Understanding static Methods and Data; 7.6 Chapter 7 Quick Reference; Chapter 8: Understanding Values and References; 8.1 Copying Value Type Variables and Classes; 8.2 Understanding Null Values and Nullable Types; 8.3 Using ref and out Parameters; 8.4 How Computer Memory Is Organized; 8.5 The System.Object Class; 8.6 Boxing; 8.7 Unboxing; 8.8 Casting Data Safely; 8.9 Chapter 8 Quick Reference; Chapter 9: Creating Value Types with Enumerations and Structures; 9.1 Working with Enumerations; 9.2 Working with Structures; 9.3 Chapter 9 Quick Reference; Chapter 10: Using Arrays and Collections; 10.1 What Is an Array?; 10.2 What Are Collection Classes?; 10.3 Chapter 10 Quick Reference; Chapter 11: Understanding Parameter Arrays; 11.1 Using Array Arguments; 11.2 Comparing Parameters Arrays and Optional Parameters; 11.3 Chapter 11 Quick Reference; Chapter 12: Working with Inheritance; 12.1 What Is Inheritance?; 12.2 Using Inheritance; 12.3 Understanding Extension Methods; 12.4 Chapter 12 Quick Reference; Chapter 13: Creating Interfaces and Defining Abstract Classes; 13.1 Understanding Interfaces; 13.2 Abstract Classes; 13.3 Sealed Classes; 13.4 Chapter 13 Quick Reference; Chapter 14: Using Garbage Collection and Resource Management; 14.1 The Life and Times of an Object; 14.2 Resource Management; 14.3 Implementing Exception-Safe Disposal; 14.4 Chapter 14 Quick Reference; Part III: Creating Components; Chapter 15: Implementing Properties to Access Fields; 15.1 Implementing Encapsulation by Using Methods; 15.2 What Are Properties?; 15.3 Understanding the Property Restrictions; 15.4 Declaring Interface Properties; 15.5 Generating Automatic Properties; 15.6 Initializing Objects by Using Properties; 15.7 Chapter 15 Quick Reference; Chapter 16: Using Indexers; 16.1 What Is an Indexer?; 16.2 Indexers in Interfaces; 16.3 Using Indexers in a Windows Application; 16.4 Chapter 16 Quick Reference; Chapter 17: Interrupting Program Flow and Handling Events; 17.1 Declaring and Using Delegates; 17.2 Lambda Expressions and Delegates; 17.3 Enabling Notifications with Events; 17.4 Understanding WPF User Interface Events; 17.5 Chapter 17 Quick Reference; Chapter 18: Introducing Generics; 18.1 The Problem with objects; 18.2 The Generics Solution; 18.3 Creating a Generic Class; 18.4 Creating a Generic Method; 18.5 Variance and Generic Interfaces; 18.6 Chapter 18 Quick Reference; Chapter 19: Enumerating Collections; 19.1 Enumerating the Elements in a Collection; 19.2 Implementing an Enumerator by Using an Iterator; 19.3 Chapter 19 Quick Reference; Chapter 20: Querying In-Memorrrrrry Data by Using Query Expressions; 20.1 What Is Language Integrated Query?; 20.2 Using LINQ in a C# Application; 20.3 Chapter 20 Quick Reference; Chapter 21: Operator Overloading; 21.1 Understanding Operators; 21.2 Understanding Compound Assignment Evaluation; 21.3 Declaring Increment and Decrement Operators; 21.4 Comparing Operators in Structures and Classes; 21.5 Defining Operator Pairs; 21.6 Implementing Operators; 21.7 Understanding Conversion Operators; 21.8 Chapter 21 Quick Reference; Part IV: Building Windows Presentation Foundation Applications; Chapter 22: Introducing Windows Presentation Foundation; 22.1 Creating a WPF Application; 22.2 Adding Controls to the Form; 22.3 Handling Events in a WPF Form; 22.4 Chapter 22 Quick Reference; Chapter 23: Gathering User Input; 23.1 Menu Guidelines and Style; 23.2 Menus and Menu Events; 23.3 Shortcut Menus; 23.4 Windows Common Dialog Boxes; 23.5 Improving Responsiveness in a WPF Application; 23.6 Chapter 23 Quick Reference; Chapter 24: Performing Validation; 24.1 Validating Data; 24.2 An Example—Order Tickets for Events; 24.3 Chapter 24 Quick Reference; Part V: Managing Data; Chapter 25: Querying Information in a Database; 25.1 Querying a Database by Using ADO.NET; 25.2 Querying a Database by Using LINQ to SQL; 25.3 Chapter 25 Quick Reference; Chapter 26: Displaying and Editing Data by Using the Entity Framework and Data Binding; 26.1 Using Data Binding with the Entity Framework; 26.2 Using Data Binding to Modify Data; 26.3 Chapter 26 Quick Reference; Part VI: Building Professional Solutions with Visual Studio; Chapter 27: Introducing the Task Parallel Library; 27.1 Why Perform Multitasking by Using Parallel Processing?; 27.2 Implementing Multitasking in a Desktop Application; 27.3 Using Tasks and User Interface Threads Together; 27.4 Canceling Tasks and Handling Exceptions; 27.5 Chapter 27 Quick Reference; Chapter 28: Performing Parallel Data Access; 28.1 Using PLINQ to Parallelize Declarative Data Access; 28.2 Synchronizing Concurrent Imperative Data Access; 28.3 Chapter 28 Quick Reference; Chapter 29: Creating and Using a Web Service; 29.1 What Is a Web Service?; 29.2 Web Service Architectures; 29.3 Building Web Services; 29.4 Chapter 29 Quick Reference; Interoperating with Dynamic Languages; What Is the Dynamic Language Runtime?; The dynamic Keyword; Example: IronPython; Example: IronRuby; Summary;

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Microsoft Visual C# 2010 Step by Step [With CDROM] 4 out of 5 based on 0 ratings. 6 reviews.
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Guest More than 1 year ago
This book is a great resource for learning C# from knowing very little and goes into great depth. It's simple to follow and covers a lot of ground.The only thing it doesn't do that I wish it did is to start some example program that it would build throughout the book. It doesn't do that.But I would highly recommend this book.
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago