Programming in the Key of C# : A Primer for Aspiring Programmers
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#
- Paperback | 432 pages
- 187 x 229 x 23.11mm | 1,000g
- 03 Sep 2003
- Microsoft Press,U.S.
- Redmond, United States
- 1, black & white illustrations
Table of contents
You the programmer First assignments Edit, compile, run Console output Comments Integers Text strings String conversion Console input Constants Decimals Floating point Methods & fields Arrays Booleans Ifs & loops Objects
About Charles Petzold
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.