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

Programming in the Key of C#: A Primer for Aspiring Programmers
Published:August 06, 2003Language:English
Author:Charles PetzoldTechnology:N/A
Length:432 PagesISBN 13:9780735618008

List Price:

About The BookCompose your first software applications with programming maestro Charles Petzold.

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#
  • About Charles PetzoldCharles Petzold has been programming for Windows since first obtaining a beta Windows 1.0 SDK in the spring of 1985. He wrote the very first magazine article on Windows programming, “A Step-by-Step Guide to Building Your First Windows Application,” which appeared in the December 1986 issue of Microsoft Systems Journal. In 1987, he wrote Programming Windows, which is currently in its sixth edition and which is one of the best-selling programming books of all time.
    Charles has been a contributing editor to PC Magazine since 1985. For nearly a decade, his writing appeared in virtually every issue of this bimonthly magazine, first in the “PC Tutor” column and then in “Environments.” Although no longer as deeply involved with the magazine, he still occasionally writes programming articles. Links to some recent articles can be found on his Web site at
    Looking for training resources, events and advice from peers? Join the Microsoft Training and Certification Community. Preparing for an exam now? Find your Microsoft Certification Study Group. Talk to us on these social networks:
    What do you think of this book? Your feedback is important in helping us create books that serve your needs and meet your expectations.Please take our survey at

    Note: You will need this book's 13-digit International Standard Book Number (ISBN) to take the survey.The ISBN 13 can be found above.
    To report or search for corrections in this book or its companion content,
    search for the title in our online store and then check the Errata & Updates tab. To report errors, please go to our Submit errata page.