توضیحاتی در مورد کتاب :
مقدمه ای واضح، دوستانه و قابل دسترس برای برنامه نویسی Visual C#
واضح، دوستانه و قابل دسترس، این نسخه چهارم شروع با ویژوال سی شارپ یک متن شروع ایده آل برای خوانندگانی است که تجربه برنامه نویسی ندارند. توضیحات دقیق و سبک خوانا و قابل درک متن را برای برنامه نویسان جدید دعوت می کند، در حالی که برنامه های نمونه عملی متعددی مهمترین موضوعات برنامه نویسی را برجسته می کنند. دستورالعمل های دقیق و گام به گام Gaddis یک رویکرد مبتنی بر رابط کاربری گرافیکی را آموزش می دهد که خوانندگان را با عناصر گرافیکی آشنا تحریک می کند. موضوعات به تدریج در هر فصل مورد بررسی قرار می گیرند و اشیاء قبل از کلاس ها آموزش داده می شوند. نسخه چهارم به طور کامل برای ویژوال استودیو 2015 به روز شده است و شامل بخش های جدیدی در مورد اشکال زدایی، دسترسی به کنترل ها در فرم های مختلف و ویژگی های خودکار است.
فهرست مطالب :
Cover......Page 1
Inside Front Cover......Page 2
Title Page......Page 4
Copyright Page......Page 5
Locations of VideoNotes......Page 6
Brief Contents......Page 8
Contents......Page 9
Preface......Page 14
Acknowledgments......Page 18
About the Author......Page 19
Attention Students......Page 20
1.1 Introduction......Page 22
1.2 Hardware and Software......Page 23
1.3 How Computers Store Data......Page 28
1.4 How a Program Works......Page 32
1.5 Graphical User Interfaces......Page 39
1.6 Objects......Page 42
1.7 The Program Development Process......Page 44
1.8 Getting Started with the Visual Studio Environment......Page 48
Tutorial 1-1: Starting Visual Studio and Setting Up the Environment......Page 49
Tutorial 1-2: Starting a New Visual C# Project......Page 51
Tutorial 1-3: Saving and Closing a Project......Page 53
Tutorial 1-4: Opening an Existing Project......Page 61
Tutorial 1-5: Getting Familiar with the Visual Studio Environment......Page 62
Key Terms......Page 64
Review Questions......Page 65
Programming Problems......Page 70
2.1 Getting Started with Forms and Controls......Page 72
2.2 Creating the GUI for Your First Visual C# Application: The Hello World Application......Page 81
Tutorial 2-1: Creating the GUI for the Hello World Application......Page 82
2.3 Introduction to C# Code......Page 86
Tutorial 2-2: Writing Code for the Hello World Application......Page 96
2.5 Label Controls......Page 99
Tutorial 2-3: Creating the Language Translator Application......Page 107
2.6 Making Sense of IntelliSense......Page 110
2.7 PictureBox Controls......Page 111
Tutorial 2-4: Creating the Flags Application......Page 115
Tutorial 2-5: Creating the Card Flip Application......Page 119
2.8 Comments, Blank Lines, and Indentation......Page 123
2.9 Writing the Code to Close an Application’s Form......Page 125
2.10 Dealing with Syntax Errors......Page 126
Review Questions......Page 128
Programming Problems......Page 133
3.1 Reading Input with TextBox Controls......Page 138
3.2 A First Look at Variables......Page 141
Tutorial 3-1: The Birth Date String Application......Page 147
3.3 Numeric Data Types and Variables......Page 152
3.4 Performing Calculations......Page 157
3.5 Inputting and Outputting Numeric Values......Page 162
Tutorial 3-2: Calculating Fuel Economy......Page 167
3.6 Formatting Numbers with the ToString Method......Page 170
Tutorial 3-3: Creating the Sale Price Calculator Application with Currency Formatting......Page 173
3.7 Simple Exception Handling......Page 177
Tutorial 3-4: Creating the Test Average Application with Exception Handling......Page 181
3.8 Using Named Constants......Page 185
3.9 Declaring Variables as Fields......Page 186
Tutorial 3-5: Creating the Change Counter Application......Page 190
3.10 Using the Math Class......Page 194
3.11 More GUI Details......Page 196
3.12 Using the Debugger to Locate Logic Errors......Page 205
Tutorial 3-6 Single-stepping through an Application’s Code at Runtime......Page 206
Review Questions......Page 211
Programming Problems......Page 216
4.1 Decision Structures and the if Statement......Page 220
Tutorial 4-1: Completing the Test Score Average Application......Page 225
4.2 The if-else Statement......Page 229
Tutorial 4-2: Completing the Payroll with Overtime Application......Page 231
4.3 Nested Decision Structures......Page 235
Tutorial 4-3: Completing the Loan Qualifier Application......Page 237
4.4 Logical Operators......Page 246
4.6 Comparing Strings......Page 251
4.7 Preventing Data Conversion Exceptions with the TryParse Methods......Page 255
Tutorial 4-4: Calculating Fuel Economy......Page 260
4.8 Input Validation......Page 263
4.9 Radio Buttons and Check Boxes......Page 264
Tutorial 4-5: Creating the Color Theme Application......Page 269
4.10 The switch Statement......Page 271
4.11 Introduction to List Boxes......Page 274
Tutorial 4-6: Creating the Time Zone Application......Page 276
Review Questions......Page 280
Programming Problems......Page 284
5.1 More about ListBoxes......Page 290
5.2 The while Loop......Page 292
Tutorial 5-1: Using a Loop to Calculate an Account Balance......Page 296
Tutorial 5-2: Enhancing the Ending Balance Application......Page 299
5.3 The ++ and -- operators......Page 303
5.4 The for Loop......Page 304
Tutorial 5-3: Using the for Loop......Page 309
5.5 The do-while Loop......Page 312
5.6 Using Files for Data Storage......Page 314
Tutorial 5-4: Writing Data to a Text File......Page 320
Tutorial 5-5: Appending Data to the Friend.txt File......Page 325
Tutorial 5-6: Using a Loop to Read to the End of a File......Page 333
Tutorial 5-7: Calculating a Running Total......Page 337
5.7 The OpenFileDialog and SaveFileDialog Controls......Page 340
5.8 Random Numbers......Page 345
Tutorial 5-8: Simulating Coin Tosses......Page 347
5.9 The Load Event......Page 351
Tutorial 5-9: Creating a Load Event Handler......Page 352
Review Questions......Page 355
Programming Problems......Page 358
6.1 Introduction to Methods......Page 362
6.2 void Methods......Page 364
Tutorial 6-1: Creating and Calling Methods......Page 368
6.3 Passing Arguments to Methods......Page 372
Tutorial 6-2: Passing an Argument to a Method......Page 375
6.4 Passing Arguments by Reference......Page 383
Tutorial 6-3: Using an Output Parameter......Page 386
6.5 Value-Returning Methods......Page 390
Tutorial 6-4: Writing a Value-Returning Method......Page 395
Tutorial 6-5: Modularizing Input Validation with a Boolean Method......Page 398
6.6 Debugging Methods......Page 403
TUTORIAL 6-6: Practicing the Step Into Command......Page 404
TUTORIAL 6-7: Practicing the Step Over Command......Page 405
TUTORIAL 6-8: Practicing the Step Out Command......Page 406
Review Questions......Page 408
Programming Problems......Page 411
7.1 Value Types and Reference Types......Page 416
7.2 Array Basics......Page 419
Tutorial 7-1: Using an Array to Hold a List of Random Lottery Numbers......Page 426
7.3 Working with Files and Arrays......Page 431
7.4 Passing Arrays as Arguments to Methods......Page 434
7.5 Some Useful Array Algorithms......Page 441
Tutorial 7-2: Processing an Array......Page 451
7.6 Advanced Algorithms for Sorting and Searching Arrays......Page 456
7.7 Two-Dimensional Arrays......Page 463
Tutorial 7-3: Completing the Seating Chart Application......Page 466
7.8 Jagged Arrays......Page 472
7.9 The List Collection......Page 473
Tutorial 7-4: Completing the Test Score List Application......Page 479
Review Questions......Page 485
Programming Problems......Page 489
8.2 String and Character Processing......Page 492
Tutorial 8-1: Completing the Password Validation Application......Page 498
Tutorial 8-2: Completing the Telephone Format Application......Page 511
Tutorial 8-3: Completing the Telephone Unformat Application......Page 515
Tutorial 8-4: Completing the CSV Reader Application......Page 521
8.3 Structures......Page 526
Tutorial 8-5: Completing the Phonebook Application......Page 536
8.4 Enumerated Types......Page 541
Tutorial 8-6: Completing the Color Spectrum Application......Page 544
8.5 The ImageList Control......Page 549
Tutorial 8-7: Completing the Random Card Application......Page 551
Review Questions......Page 554
Programming Problems......Page 558
9.1 Introduction to Classes......Page 562
Tutorial 9-1: Creating and Using the Coin Class......Page 569
9.2 Properties......Page 574
Tutorial 9-2: Creating and Using the CellPhone Class......Page 577
Tutorial 9-3: Creating and Using the BankAccount Class......Page 584
9.4 Storing Class Type Objects in Arrays and Lists......Page 590
Tutorial 9-4: Completing the Cell Phone Inventory Application......Page 592
9.5 Finding the Classes and Their Responsibilities in a Problem......Page 596
9.6 Creating Multiple Forms in a Project......Page 605
Tutorial 9-5: Creating an Application with Two Forms......Page 609
TUTORIAL 9-6: Accessing a Control on a Different Form......Page 614
Review Questions......Page 619
Programming Problems......Page 623
10.1 Inheritance......Page 626
Tutorial 10-1: Creating and Testing the SavingsAccount and CDAccount Classes......Page 636
10.2 Polymorphism......Page 644
Tutorial 10-2: Completing the Polymorphism Application......Page 649
10.3 Abstract Classes......Page 654
Tutorial 10-3: Completing the Computer Science Student Application......Page 656
Review Questions......Page 661
Programming Problems......Page 664
11.1 Introduction to Database Management Systems......Page 666
11.2 Tables, Rows, and Columns......Page 668
11.3 Creating a Database in Visual Studio......Page 671
Tutorial 11-1: Starting the Phone Book Application and Creating the Phonelist.mdf Database......Page 672
Tutorial 11-2: Completing the Phone Book Application......Page 680
11.5 Connecting to an Existing Database and Using Details View Controls......Page 687
Tutorial 11-3: Creating the Products Application and Using a Details View......Page 689
11.6 More About Data-Bound Controls......Page 697
Tutorial 11-4: Creating the Product Lookup Application......Page 700
Tutorial 11-5: Creating the Multiform Products Application......Page 703
11.7 Selecting Data with the SQL Select Statement......Page 709
Tutorial 11-6: Creating the Product Queries Application......Page 715
Tutorial 11-7: Creating the Product Queries Application......Page 724
Tutorial 11-8: Creating the Product Search Application......Page 728
Review Questions......Page 734
Programming Problems......Page 738
Appendix A C# Primitive Data Types......Page 740
Appendix B Additional User Interface Controls......Page 742
Appendix C ASCII/Unicode Characters......Page 762
Appendix D Answers to Checkpoint Questions......Page 764
A......Page 784
C......Page 785
D......Page 787
G......Page 788
L......Page 789
N......Page 790
P......Page 791
R......Page 792
S......Page 793
T......Page 794
Z......Page 795
توضیحاتی در مورد کتاب به زبان اصلی :
Clear, Friendly, and Approachable Introduction to Visual C# Programming
Clear, friendly, and approachable, this Fourth Edition of Starting Out With Visual C# is an ideal beginning text for readers with no programming experience. Detailed walk-throughs and a readable, comprehensible style make the text inviting to new programmers, while numerous practical example programs highlight the most important programming topics. Gaddis’s detailed, step-by-step instructions teach a GUI-based approach that motivates readers with familiar graphical elements. Topics are examined progressively in each chapter, with objects taught before classes. The Fourth Edition has been completely updated for Visual Studio 2015 and contains new sections on debugging, accessing controls on different forms, and auto-properties.