Read more
This thoroughly updated tutorial for beginning to intermediate programmers covers the latest release of Microsoft's popular C language (C 3.0) and the new .NET 3.5 platform for developing Windows and web applications. Now in its fifth edition, our bestselling Programming C 3.0 teaches the essentials of the C and the .NET Framework Class Libraries, and explains how to use these tools to create applications for Windows, as well as for the Web. This book: Not only teaches the basics of programming with C 3.0, but doubles as a reference Includes new chapters to teach you how to use new LINQ (Language Integrated Query) and other C 3.0 language innovations to speed up development tasks Explains how to create Windows applications using .NET and the Windows Presentation Foundation (WPF) for both Vista and legacy operating systems Teaches you how to create web applications with ASP.NET 2.0 and ASP.NET AJAX, and how to consume web services with Windows Communication Foundation (WCF)This new edition of Programming C 3.0 is for working programmers who want to develop proficiency in Microsoft's hottest and most important language. No prior .NET experience is required for you to get started, as long as you understand the basics of object-oriented programming with languages such as C++ or Java. There's no time like the present to work with C and no book like this one to teach you the intricacies.
List of contents
Preface
Part I. The C Language
1. C 3.0 and .NET 3.5
The Evolution of C
The C Language
The .NET Platform
2. Getting Started: "Hello World"
Classes, Objects, and Types
Developing "Hello World"
Using the Visual Studio 2008 Debugger
3. C Language Fundamentals
Types
Variables and Constants
Whitespace
Statements
Operators
Preprocessor Directives
4. Classes and Objects
Defining Classes
Creating Objects
Using Static Members
Destroying Objects
Passing Parameters
Overloading Methods and Constructors
Encapsulating Data with Properties
readonly Fields
5. Inheritance and Polymorphism
Specialization and Generalization
Inheritance
Polymorphism
Abstract Classes
The Root of All Types: Object
Nesting Classes
6. Operator Overloading
Using the operator Keyword
Supporting Other .NET Languages
Creating Useful Operators
Logical Pairs
The Equality Operator
Conversion Operators
Putting Operators to Work
7. Structs
Defining Structs
Creating Structs
8. Interfaces
Defining and Implementing an Interface
Overriding Interface Implementations
Explicit Interface Implementation
9. Arrays, Indexers, and Collections
Arrays
The foreach Statement
Indexers
Collection Interfaces
Constraints
ListT
Queues
Stacks
Dictionaries
10. Strings and Regular Expressions
Strings
Regular Expressions
11. Exceptions
Throwing and Catching Exceptions
Exception Objects
12. Delegates and Events
Events
Events and Delegates
Anonymous Methods
Part II. C and Data
13. Introducing LINQ
Defining and Executing a Query
LINQ and C
Anonymous Types
Implicitly Typed Local Variables
Extension Methods
Lambda Expressions in LINQ
14. Working with XML
XML Basics (A Quick Review)
X Stands for eXtensible
Creating XML Documents
Searching in XML with XPath
Searching Using XPathNavigator
XML Serialization
15. Putting LINQ to Work
Getting Set Up
LINQ to SQL Fundamentals
Using Visual Studio LINQ to SQL Designer
Retrieving Data
Updating Data Using LINQ to SQL
Deleting Relational Data
LINQ to XML
16. ADO.NET and Relational Databases
Relational Databases and SQL