Jump to ratings and reviews
Rate this book

Programming in the Key of C#: A Primer for Aspiring Programmers

Rate this book
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#

432 pages, Paperback

First published August 1, 2003

About the author

Charles Petzold

134 books191 followers
Charles Petzold has been writing about programming for Windows-based operating systems for 24 years. A Microsoft MVP for Client Application Development and a Windows Pioneer Award winner, Petzold is author of the classic Programming Windows, currently in its sixth edition and one of the best-known programming books of all time; the widely acclaimed Code: The Hidden Language of Computer Hardware and Software; and more than a dozen other books.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
5 (17%)
4 stars
12 (42%)
3 stars
8 (28%)
2 stars
2 (7%)
1 star
1 (3%)
Displaying 1 of 1 review
Profile Image for Scythan.
139 reviews3 followers
June 10, 2011
Very good and well-paced introduction to C#. I feel I have a good foundation from which to draw in the future.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.