C# 2008 For Dummies

Front Cover
John Wiley & Sons, Feb 4, 2011 - Computers - 456 pages
Whether you’re a total novice or a programmer shifting to C#, the newest version of this programming language is full of cool features you’ll want to use. With its Visual Studio compatibility, C# is the perfect language for building Windows Vista applications. And the 2008 version works with LINQ, a query language with syntax similar to SQL but which simplifies database code and can also write queries on XML files.

For the best basic C# how-to, it’s hard to beat C# 2008 For Dummies. This plain-English guide to programming with C# can have you creating your first console application before you finish Part I. In fact, the basic template you create at that point will be the foundation of many other apps as you move through the book. Along the way you’ll get the scoop on organizing your data, object-oriented programming (also known as OOP), and a great LINQ-related feature called delegates and events. You’ll find out how to

  • Create a console application template
  • Perform logical comparisons
  • Work with loops and if statements
  • Understand collection syntax
  • Use interfaces and object-oriented concepts
  • Apply delegates and events, and much more

You’ll even gain some rare insight into how to understand error messages you may get when programming in C#. All the code you need can be found on the companion Web site, along with great bonus information that helps you do more with C# 2008. So — what are you waiting for? Grab C# 2008 For Dummies and let’s get started!

 

What people are saying - Write a review

LibraryThing Review

User Review  - librarythingaliba - LibraryThing

This was a good refresher in object oriented programing with a C# flavor, although I got a little confused at the end when they started talking about more advanced (at least to me) elements such as ... Read full review

Contents

Introduction
1
Getting Started with C
11
Basic C Programming
25
Smooth Operators
49
Getting into the Program Flow
61
Lining Up Your Ducks with Collections
89
Pulling Strings
117
Showing Some Class
149
ObjectOriented Programming
217
Inheritance Is That All I Get?
251
Polywhatism?
275
Interfacing with the Interface
303
Now Showing in C 3 0
331
Mary Had a Little Lambda Expression
353
LINQing Up with Query Expressions
367
Ten Common Build Errors And How to Fix Them
405

We Have Our Methods
161
Let Me Say This about this
191
ObjectOriented Programming Whats It All About?
209

Other editions - View all

Common terms and phrases

About the author (2011)

Stephen R. Davis, who goes by the name of Randy, lives with his wife and son near Dallas, Texas. He and his family have written numerous books, including C++ For Dummies and C++ Weekend Crash Course. Stephen works for L-3 Communications.

Chuck Sphar escaped Microsoft’s C++ documentation camps in 1997, after six years’ hard labor as a senior technical writer. He’s perpetrated three previous tomes, one on object-oriented programming for the Mac, one on Microsoft’s MFC class library, and C# 2005 For Dummies, a revision of Randy’s original edition. He’s currently finishing a novel about ancient Rome (against rome.com) and gobbling great mouthfuls of .NET programming. Chuck can be reached for praise and minor nits at chuck@csharp102.info.

Bibliographic information