C# 2008 for Programmers (Deitel Developer Series) / Edition 3

Paperback (Print)
Buy New
Buy New from BN.com
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 96%)
Other sellers (Paperback)
  • All (18) from $1.99   
  • New (4) from $41.98   
  • Used (14) from $1.99   


The professional programmer’s Deitel® guide to C# and the powerful Microsoft® .NET Framework

Written for programmers with a background in C++, Java or other high-level languages, this book applies the Deitel signature live-code approach to teaching programming and explores Microsoft’s C# language and .NET Framework 3.5 in depth. The book is updated for Visual Studio® 2008 and C# 3.0, and presents C# concepts in the context of fully tested programs, complete with syntax shading, code highlighting, line-by-line code descriptions, and program outputs. The book features 200+ C# applications with about 20,000 lines of proven C# code, and hundreds of tips that will help you build robust applications.

Start with a concise introduction to C# using an early classes and objects approach, then rapidly move on to more advanced topics, including the .NET Framework 3.5, LINQ, WPF, ASP.NET AJAX, WCF web services and Silverlight™. You’ll enjoy the Deitels’ classic treatment of object-oriented programming and the OOD/UML™ ATM case study, including a complete C# implementation. When you’re finished, you’ll have everything you need to build next-generation Windows applications, web applications and web services.

TheDeitel® Developer Series isdesigned for practicing programmers. The series presents focused treatments of emerging technologies, including .NET, Java™, web services, Internet and web development, and more.

Practical, example-rich coverage of:

  • .Net Framework 3.5
  • Types, Arrays, LINQ to Objects
  • Exception Handling
  • LINQ, Object/Collection Initializers
  • OOP: Classes, Inheritance, Polymorphism, Interfaces
  • WinForms, WPF, XAML, Event Handling
  • WPF Graphics/Multimedia, Silverlight
  • Lists, Queues, Stacks, Trees
  • Generic Collections, Generic Methods and Classes
  • XML®, LINQ to XML
  • Database, SQL, LINQ to SQL
  • Web Forms, Web Controls
  • WCF Web Services
  • And more

Visit www.deitel.com to:

  • Download code examples
  • Check out the growing list of programming, Web 2.0, and software-related Resource Centers
  • To receive updates for this book, subscribe to the free Deitel® Buzz Online e-mail newsletter at www.deitel.com/newsletter/subscribe.html
  • Read archived issues of the Deitel® Buzz Online
  • Visit www.deitel.com/training for information on Deitel’s Dive Into® Series corporate training courses delivered on-site worldwide

Pre-Publication Reviewer Testimonials

“The ultimate, comprehensive book that teaches you how to program using the latest Microsoft technologies. Excellent explanations, lots of examples, all the necessary theoretical background and all the latest technologies for desktop, web and databases. The best overview of Silverlight.“

–Kirill Osenkov, Microsoft

“An excellent, true objects-first book. Excellent introduction to collections. The generics material is a real asset.“
–Gavin Osborne, Saskatchewan Institutue of Applied Science & Technology

“The early Introduction to Classes and Objects is brilliant. Coverage of ASP.NET 3.5 is exceptional. Includes a great introduction to ASP.NET AJAX.“

–José Antonio González Seco, Parliament of Andalusia

“Great chapter on polymorphism.“

–Eric Lippert, Microsoft

“Illustrates the best practices of C# programming. Teaches how to ‘program in the large,’ with material on object-oriented programming and software engineering principles.“

–Mingsheng Hong, Cornell University

“Excellent introduction to the world of .NET, using the Deitels’ live-code approach and real-world examples.“

–Bonnie Berent, Microsoft C# MVP

“Excellent chapter on exceptions. Very good chapter on Winforms GUIs.“

–Marcelo Guerra Hahn, Microsoft

“Perfect for professionals. Thorough introductions to the debugger and LINQ.“

–Vinay Ahuja, Microsoft

“The TV/video viewer will enthuse readers and help them see how complex graphics effects can be created easily in WPF. A good example of data binding in WPF.“

—Ged Mead, Microsoft MVP, DevCity.Net

“An excellent introduction to XML, LINQ to XML and related technologies.“

—Helena Kotas, Microsoft

“Good overview of relational databases. It hits on the right LINQ to SQL idioms.“

—Alex Turner, Microsoft

“Great overview of producing and consuming web services with WCF.“

—Dan Crevier, Microsoft

Read More Show Less

Product Details

  • ISBN-13: 9780137144150
  • Publisher: Prentice Hall
  • Publication date: 1/23/2009
  • Series: Deitel Developer Series
  • Edition description: Third
  • Edition number: 3
  • Pages: 1254
  • Product dimensions: 6.90 (w) x 9.00 (h) x 1.90 (d)

Meet the Author

Dr. Harvey M. Deitel, Chairman and Chief Strategy Officer of Deitel and Associates, Inc., has 45 years of academic and industry experience in the computer field. He has 20 years of college teaching experience, including serving as the Chairman of the Computer Science Dept at Boston College before founding Deitel and Associates, Inc., with his son, Paul J. Deitel. Paul J. Deitel, CEO and Chief Technical Officer of Deitel and Associates, Inc., is a graduate of MIT's Sloan School of Management, where he studied Information Technology. He has delivered Java, C, C++ , C#, and Visual Basic courses to industry clients, including many of the Fortune 500.

Read More Show Less

Table of Contents

Before You Begin

1 Introduction 1

2 Dive Into Visual C# 2008 Express 18

3 Introduction to C# Applications 49

4 Introduction to Classes and Objects 86

5 Control Statements: Part 1 125

6 Control Statements: Part 2 151

7 Methods: A Deeper Look 192

8 Arrays 238

9 Introduction to UNQ and Generic Collections 292

10 Classes and Objects: A Deeper Look 309

11 Object-Oriented Programming: Inheritance 370

12 Polymorphism, Interfaces and Operator Overloading 408

13 Exception Handling 456

14 Graphical User Interfaces with Windows Forms: Part 1 485

15 Graphical User Interfaces with Windows Forms: Part 2 530

16 GUI with Windows Presentation Foundation 593

17 WPF Graphics and Multimedia 651

18 Strings, Characters and Regular Expressions 688

19 Files and Streams 732

20 XML and UNO to XML 778

21 Databases and UNO to SOL 819

22 ASP.NET 3.5 and ASP.NET AJAX 861

23 Windows Communication Foundation (WCF) Web Services 963

24 Silverlight, Rich Internet Applications and Multimedia 1016

25 Data Structures 1059

26 Generics 1097

27 Collections 1118

A Operator Precedence Chart 1145

B Simple Types 1147

C Number Systems 1149

D ATM Case Study Code 1159

E UML 2: Additional Diagram Types 1185

F ASCII Character Set 1187

G Unicode 1188

H Using the Visual C# 2008 Debugger 1196

Index 1215

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 3 Customer Reviews
  • Posted August 11, 2009

    I Also Recommend:

    Deitel books are really good

    I have read many Deitel books and I would recommend Deitel any time. This book specifically though, it is very well written, great examples and since its color it helps to read the code better. Yes there are many C# books out there but this one specifically I loved because it covers many technologies including WPF, Silverlight, LINQ, WCF and gives you in depth examples on how to use them with C#. It is an all around great book.
    The first few chapters of the book are really oriented to the beginners into .NET programming so it is not only for advanced users. Although it covers many topics and technologies it is not the best book to master a specific technology or C#. There are better books that are focused in advanced techniques. But if you're goal is to learn enough and get you started with C# 3.5 and technologies that work with it this is the book to get.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted April 10, 2010

    I always try to find just one book...

    ...and this one is it. One book that will take me from my VB6 world into C# AND with all that .NET stuff too!

    The Deitel format is clear and concise and I find the "Deitel Bug" tips throughout the text to be very helpful and time saving. So much of good programming practice is lost to the constant change of the technology that I miss out on the strategy nuance that makes the difference between Good Code and Great Code. The "Bug" brings it home.

    I find the graphics to be just right, with shading and other formatting to bring my attention to the right spot, I invest less time getting the point than with other book formats.

    For someone like "VB me" who knew nothing about C or .NET, this book is the perfect first step.

    Thanks Guys!

    Was this review helpful? Yes  No   Report this review
  • Posted December 31, 2008

    downloading the sample code is impossible

    It seems you have to register on their site to download the sample code.<BR/><BR/>When you register a verification code is sent to your email address. I've tried to register multiple times, and still no verification code for the initial login.<BR/><BR/>So if you try to download the sample code, be prepared to wait a very long time for the verification code for the initial login.<BR/>If I wait to long, I will just return the book.

    0 out of 2 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 3 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)