Programming in the Key of C#

( 2 )

Overview

Learning to program is like learning a musical instrument. It takes dedication, lots of practice, and a great teacher. This primer-created by award-winning author Charles Petzold-focuses on the fundamentals of composing code with C#, an intuitive object-oriented programming language ideal for creating solutions for Microsoft Windows and the Web. Whether you're new to programming or new to C#, you'll quickly build the skills you need to orchestrate your own applications in the key of C#. Discover how to: .Start ...

See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (8) from $3.00   
  • Used (8) from $3.00   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$3.00
Seller since 2007

Feedback rating:

(3117)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

Good
2003 Paperback Good

Ships from: Seattle, WA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$7.99
Seller since 2014

Feedback rating:

(2)

Condition: Good
2003 Paperback Good Connecting readers with great books since 1972. Used books may not include companion materials, some shelf wear, may contain highlighting/notes, and may not ... include cd-rom or access codes. Customer service is our top priority! Read more Show Less

Ships from: Chesterfield, MO

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$10.00
Seller since 2010

Feedback rating:

(1094)

Condition: Acceptable
May have marks, writing or highlighting

Ships from: North Las Vegas, NV

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$14.98
Seller since 2005

Feedback rating:

(220)

Condition: Very Good
2003 Paperback Very Good Very nice large paperback. No spine crease. Only slight wear. Text is clean, unmarked, tight. (Shelf location: BC) All items carefully packed to avoid ... damage from moisture and rough handling. Read more Show Less

Ships from: Westerville, OH

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$17.95
Seller since 2014

Feedback rating:

(26)

Condition: Good
2003 Trade paperback Good. Trade paperback (US). Glued binding. 432 p. Contains: Illustrations. Pro-Developer (Paperback).

Ships from: Pueblo West, CO

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$25.98
Seller since 2014

Feedback rating:

(88)

Condition: Good
2003 Trade paperback Good. The book has been read but remains in clean condition. All pages are intact and the cover is intact. Some minor wear to the spine. Trade paperback ... (US). Glued binding. 432 p. Contains: Illustrations. Pro-Developer (Paperback). *****PLEASE NOTE: This item is shipping from an authorized seller in Europe. In the event that a return is necessary, you will be able to return your item within the US. To learn more about our European sellers and policies see the BookQuest FAQ section***** Read more Show Less

Ships from: Goring-By-Sea, United Kingdom

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
$32.54
Seller since 2014

Feedback rating:

(88)

Condition: Acceptable
2003 Trade paperback Fair. A readable copy of the book which may include some defects such as highlighting and notes. Cover and pages may be creased and show discolouration. ... Trade paperback (US). Glued binding. 432 p. Contains: Illustrations. Pro-Developer (Paperback). *****PLEASE NOTE: This item is shipping from an authorized seller in Europe. In the event that a return is necessary, you will be able to return your item within the US. To learn more about our European sellers and policies see the BookQuest FAQ section***** Read more Show Less

Ships from: Goring-By-Sea, United Kingdom

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
$48.00
Seller since 2014

Feedback rating:

(2)

Condition: Good
PAPERBACK Good 0735618003 Good condition books may have signs of cover wear and/or marks on corners and page edges. Inside pages may have highlighting, writing and underlining. ... Supplemental materials such as CDs, Access Codes, and Course Packs are not guaranteed to be included. Ships fast from Ontario, delivery is between 5-10 business days. Satisfaction guaranteed! Read more Show Less

Ships from: Ottawa, Canada

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview

Learning to program is like learning a musical instrument. It takes dedication, lots of practice, and a great teacher. This primer-created by award-winning author Charles Petzold-focuses on the fundamentals of composing code with C#, an intuitive object-oriented programming language ideal for creating solutions for Microsoft Windows and the Web. Whether you're new to programming or new to C#, you'll quickly build the skills you need to orchestrate your own applications in the key of C#. Discover how to: .Start simple with variables-integers and text strings .Learn the basics of user input and output .Get deeper into data types with decimals and floating point .Explore how Booleans help a program make decisions .Branch, loop, and enumerate to perform selective and repetitive tasks .Prevent your programs from crashing with structured exception handling .Assemble classes from fields, methods, and properties .Extend classes with inheritance, operators, and virtual methods .Store information in data fields .Teach your programs to play music in the key of C#

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
If you’re new (or relatively new) to programming -- the audience for this book -- you may not recognize the name Charles Petzold. Suffice to say, he’s a legend amongst Windows programmers, and if you’ve got a chance to learn a Microsoft programming language from him, you ought to jump at it.

Petzold started building his Windows reputation way back in 1985, with the Windows 1.0 SDK beta. He wrote the world’s first magazine article on Windows programming, and then Programming Windows -- simply the definitive work on Windows development. That book is now in its sixth edition.

Through Windows 3.x to 9x, 2000 to XP, and now .NET, Petzold keeps learning better ways to teach Windows programming. Most of his previous books have assumed some basic familiarity with software development. This one, however, is for beginners and near beginners. If you’d like to start your career with a truly modern language, Programming in the Key of C# is your Petzold book.

Petzold wants you to gain a really deep understanding of the language, so he strips away everything extraneous to that goal. This isn’t a book about fancy Windows Forms user interfaces, or web services, or database integration, or Visual Studio .NET. It’s a book about learning to write C# really well -- and, in so doing, understanding the ideas behind modern programming.

To stress the point, Petzold’s examples are actually intended to run in the Windows console, a.k.a. Command Prompt window. (Fret not: everything he teaches you at the console will be invaluable when you write other C# Windows and web programs. Meantime, you needn’t own VS.NET to learn what Petzold’s teaching.)

He starts with a little history and context -- of programming, and of “C-based” languages. You’ll enter the language through simple math, then learn how to declare variables. Even at this level, Petzold is talking about concision and clarity.

You’ll walk through editing, compiling, and running your program, then communicating with the user -- “a shadowy being who lurks just beyond the periphery of your vision...needy, confused, angry, and malicious.”

Next, it’s on to the language’s basic types. You’ll learn how the .NET framework and C# handle integers; how to use text strings, and the all-important stack and heap. There are full chapters on constants, decimals, floating point math, methods and fields, arrays, Booleans, and characters. Part III turns to the stuff that makes computers at least look intelligent: conditions and iteration. Petzold introduces the While Loop, For and Foreach, exceptions, and much more.

By now, you have the “procedural” side of C# nailed. But C# is an object-oriented language, and that’s where Petzold spends the remainder of his time. He carefully introduces data encapsulation, constructors, inheritance, virtuality, operator overloading -- pretty much all the core concepts of object-oriented development.

This literate, amusing, careful book never loses sight of its goals -- or yours. But after all, that’s what millions of programmers have come to expect from Charles Petzold. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks for Dummies, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9780735618008
  • Publisher: Microsoft Press
  • Publication date: 10/30/2008
  • Edition description: REV
  • Pages: 432
  • Product dimensions: 7.58 (w) x 9.25 (h) x 0.91 (d)

Meet the Author

Charles Petzold has been writing about Windows programming for 25 years. A Windows Pioneer Award winner, Petzold is author of the classic Programming Windows, the widely acclaimed Code: The Hidden Language of Computer Hardware and Software, Programming Windows Phone 7, and more than a dozen other books.

Read More Show Less

Table of Contents

Prelude
Pt. I Beginnings 1
1 You the Programmer 3
2 First Assignments 10
3 Declarations of Purpose 16
4 Edit, Compile, Run 24
5 Console Output 29
6 Arithmetic and Its Shortcuts 35
7 Comments 45
Pt. II Basic Types 49
8 Integers and the .NET Framework 51
9 Text Strings 65
10 The Stack and the Heap 74
11 String Conversion 78
12 Console Input 84
13 Constants 88
14 Decimals 92
15 Floating Point 99
16 Fancy Formatting 106
17 Methods and Fields 112
18 Arrays 129
19 Booleans 148
20 Characters and Strings 154
Pt. III Ifs and Loops 163
21 Comparisons 165
22 Making Decisions 171
23 The Conditional Operators 186
24 The While Loop 190
25 Catching Exceptions 204
26 For and Foreach 214
27 The Infamous Goto 229
28 Switch and Case 233
29 Bits and Enumerations 239
30 Parameters and Arguments 252
Pt. IV Objects 263
31 Encapsulating Data 265
32 Instance Methods 274
33 Constructors 284
34 Concepts of Equality 294
35 Fields and Properties 303
36 Inheritance 315
37 Virtuality 325
38 Operator Overloading 340
39 Classes and Libraries 355
40 Framework Essentials 367
41 Coda 382
Index 405
Read More Show Less

Customer Reviews

Average Rating 5
( 2 )
Rating Distribution

5 Star

(2)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

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

Reminder:

  • - 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 2 Customer Reviews
  • Anonymous

    Posted January 19, 2004

    Great Book!

    I have been looking for a book that would explain the fundamentals of programming. The authors writes in understandable english with clear examples. If you are new to programming and want to grasp the basics this is a must read book.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted October 12, 2003

    Outstanding book!

    It has truly been a wonderful experience for me to read this book. I have learned all the basics in C#, and are now writing programs. When learning a programming language, with no experience in programming at all -it´s very important to get every term and perspective right, in a 'reasy to understand' manner. The reader must be able to really learn something in the process. And thats what this book is all about. Great book!

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

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