|
|
A Primer for Aspiring Programmers
Charles Petzold
ISBN: 9780735618008
Format: Paperback
Publisher:Microsoft Press,U.S.
Edition: illustrated edition
Write a review
Learning to program is like learning a musical instrument. It takes dedication, lots of practice, and a great teacher. This primer …
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#
| ISBN | 0735618003 | | Pages | 432 | | ISBN13 | 9780735618008 (What's this?) | | Volumes | 1 | | Publisher | Microsoft Press,U.S. | | Weight (grammes) | 739 | | Imprint | Microsoft Press,U.S. | | Published in | Redmond | | Format | Paperback | | Series title | Pro-Developer (Paperback) | | Publication date | 06 Aug 2003 | | Height (mm) | 235 | | Library of Congress | 2003052699 | | Width (mm) | 191 | | DEWEY | 005.133 | | Spine width (mm) | 22 | | DEWEY edition | DC21 | | Academic level | General |
|
| |
| | | 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 | | | More... | | |
|
|
|
|
|