C# 24-Hour Trainer
(Sprache: Englisch)
Quickly learn to program in C# programming with this unique book and video packageC# 24-Hour Trainer, 2nd Edition is your quick and easy guide to programming in C#, even if you have no programming experience at all. Updated to align with the latest C#...
Leider schon ausverkauft
versandkostenfrei
Buch
38.49 €
Produktdetails
Produktinformationen zu „C# 24-Hour Trainer “
Klappentext zu „C# 24-Hour Trainer “
Quickly learn to program in C# programming with this unique book and video packageC# 24-Hour Trainer, 2nd Edition is your quick and easy guide to programming in C#, even if you have no programming experience at all. Updated to align with the latest C# standard, this book is your comprehensive beginner's guide, with each lesson supplemented by a video, for over ten hours of video training. Each chapter focuses on a specific concept or technique, with detailed, easy-to-follow explanation followed by a hands-on exercise. The goals of each exercise are outlined in advance to help you understand what you're working toward, and step-by-step instructions walk you through the operation from start to finish. Complex areas are clarified with specifically highlighted pointers that head off confusion, and additional exercises are provided so you can practice your new skills. Full instructor ancillaries are included to make this guide classroom ready, and the author's own website offers ongoing support.C# has become one of the most popular programming languages in the world, with millions of lines of code used in businesses and applications of all types and sizes. This book helps you dive right in so you can start programming right away.* Start right in with the latest C# standard* Learn at your own pace, with hands-on practice* Clear up confusion and work around common obstacles* Build your own Windows, .NET, and mobile applicationsC# has become a increasingly popular and in-demand programming skillsets. If you've decided to learn C#, this 24-Hour Trainer is your ultimate guide.
Inhaltsverzeichnis zu „C# 24-Hour Trainer “
INTRODUCTION xxviiPART I: THE VISUAL STUDIO IDE AND CONTROLSLESSON 1: GETTING STARTED WITH THE VISUAL STUDIO IDE 3Installing C# 4Configuring the IDE 6Building Your First Program 7Copying Projects 12Exploring the IDE 13Try It 16Lesson Requirements 17Hints 17Step-by-Step 17Exercises 20LESSON 2: CREATING CONTROLS 21Understanding Controls 21Properties 22Methods 22Events 22Creating Controls 23Setting Control Properties 24Control Names 26Popular Properties 27Modifying Properties in Code 28Arranging Controls 30Snap Lines 30Arrow Keys 31The Format Menu and Layout Toolbar 31WPF Controls 32Try It 32Lesson Requirements 33Hints 33Step-by-Step 33Exercises 37LESSON 3: MAKING CONTROLS ARRANGE THEMSELVES 43Restricting Form Size 44Using Anchor Properties 44Using Dock Properties 47Layout Containers 48Windows Forms Controls 48WPF Controls 49Try It 50Lesson Requirements 51Hints 51Step-by-Step 52Exercises 52LESSON 4: HANDLING EVENTS 57Making Event Handlers 57Using Event Parameters 59Setting Scrollbar Properties 60Tracking Mouse Movement 61Moving the Mouse Picture 61Removing Event Handlers 62Adding and Removing Event Handlers in Code 62Useful Events 63Try It 65Lesson Requirements 65Hints 65Step-by-Step 66Exercises 66LESSON 5: MAKING MENUS 73Creating Menus 73Setting Menu Properties 75Handling Menu Events 76Creating Context Menus 77WPF Menus 78WPF Context Menus 79WPF Commanding 79Try It 80Lesson Requirements 80Hints 81Step-by-Step 81Exercises 83LESSON 6: MAKING TOOL STRIPS AND STATUS STRIPS 89Using Tool Strips 89Using Tool Strip Containers 91Using Status Strips 92Try It 93Lesson Requirements 93Hints 95Step-by-Step 95Exercises 98LESSON 7: USING RICHTEXTBOXES 103Using RichTextBox Properties 103Giving the User Control 105Using RichTextBox Methods 106Using WPF Commands 108Try It 110Lesson Requirements 110Hints 110Step-by-Step 110Exercises 112LESSON 8: USING STANDARD DIALOGS 115Using Dialogs in General 116Adding the Dialog to the Form 117Initializing the Dialog 117Displaying the Dialog and
... mehr
Checking the Return Result 118Processing the Results 119Putting It All Together 120Using Dialog Properties 120Using File Filters 123Using Dialogs in WPF 124Try It 126Lesson Requirements 126Hints 127Step-by-Step 127Exercises 130LESSON 9: CREATING AND DISPLAYING NEW FORMS 133Adding New Forms 133Understanding Classes and Instances 134Displaying Forms 135Controlling Remote Forms 138Try It 140Lesson Requirements 141Hints 141Step-by-Step 141Exercises 143LESSON 10: BUILDING CUSTOM DIALOGS 147Making Custom Dialogs 147Setting the Dialog Result 148Using Custom Dialogs 149Try It 150Lesson Requirements 150Hints 151Step-by-Step 151Exercises 153PART II: VARIABLES AND CALCULATIONSLESSON 11: USING VARIABLES AND PERFORMING CALCULATIONS 161What Are Variables? 161Data Types 161Float, Double, and Decimal Data Types 163Declaring Variables 164Literal Values 165Type Conversions 167Casting 168Converting 169Parsing 169Performing Calculations 170Operands and Operators 171Promotion 171Operator Summary 171Precedence 177Constants 179Try It 179Lesson Requirements 180Hints 180Step-by-Step 181Exercises 182LESSON 12: DEBUGGING CODE 187Deferred Techniques 187Debugging Then and Now 188Setting Breakpoints 188Reading Variables 189Stepping through Code 190Using Watches 191Using the Immediate Window 192Try It 193Lesson Requirements 193Step-by-Step 194Exercises 196LESSON 13: UNDERSTANDING SCOPE 199Scope within a Class 199Same Named Variables 200Method Variable Lifetime 201Block Scope 202Accessibility 203Restricting Scope and Accessibility 204Try It 204Lesson Requirements 205Hints 205Step-by-Step 205Exercises 208LESSON 14: WORKING WITH STRINGS 211String Methods 211Format and ToString 213Standard Numeric Formats 215Custom Numeric Formats 217Standard Date and Time Formats 218Custom Date and Time Formats 219Try It 222Lesson Requirements 222Hints 222Step-by-Step 222Exercises 223LESSON 15: WORKING WITH DATES AND TIMES 225Creating DateTime Variables 225Local and UTC Time 226DateTime Properties and Methods 226TimeSpans 228Try It 229Lesson Requirements 230Hints 230Step-by-Step 230Exercises 231LESSON 16: USING ARRAYS AND COLLECTIONS 233Arrays 233Creating Arrays 234A Fibonacci Example 235Multi-Dimensional Arrays 236Array Properties and Methods 237Collection Classes 238Generic Classes 239Lists 240SortedLists 240Dictionaries 242Queues 242Stacks 242Try It 243Lesson Requirements 243Step-by-Step 244Exercises 245LESSON 17: USING ENUMERATIONS AND STRUCTURES 249Enumerations 249Structures 250Structures versus Classes 251Reference Types 251Value Types 252Other Differences 252Where to Put Structures 254Try It 254Lesson Requirements 255Step-by-Step 255Exercises 257PART III: PROGRAM STATEMENTSLESSON 18: MAKING CHOICES 263Decision Statements 263if Statements 264if-else Statements 265Cascading if Statements 265Nested if Statements 266switch Statements 267Try It 269Lesson Requirements 269Hints 269Step-by-Step 269Exercises 270LESSON 19: REPEATING PROGRAM STEPS 275for Loops 275foreach Loops 277while Loops 278do Loops 279break and continue 281Try It 282Lesson Requirements 282Hints 282Step-by-Step 283Exercises 284LESSON 20: REUSING CODE WITH METHODS 289Method Advantages 290Method Syntax 291Using ref Parameters 294Using out Parameters 295Try It 296Lesson Requirements 296Hints 296Step-by-Step 296Exercises 298LESSON 21: HANDLING ERRORS 301Errors and Exceptions 301try-catch Blocks 302TryParse 304Throwing Exceptions 305Try It 307Lesson Requirements 307Hints 308Step-by-Step 308Exercises 309LESSON 22: PREVENTING BUGS 313Input Assertions 313Other Assertions 316Try It 316Lesson Requirements 317Hints 317Step-by-Step 317Exercises 319PART IV: CLASSESLESSON 23: DEFINING CLASSES 325What Is a Class? 325Class Benefi ts 326Making a Class 327Properties 327Try It 330Lesson Requirements 330Step-by-Step 330Methods 331Events 332Delegates 332Event Handler Delegates 333Try It 336Lesson Requirements 336Hints 337Step-by-Step 337Inheritance 339Polymorphism 340Try It 341Lesson Requirements 341Hints 341Step-by-Step 342Exercises 344LESSON 24: INITIALIZING OBJECTS 347Initializing Objects 347Constructors 348Parameterless Constructors 349Parameterized Constructors 349Destructors 350Invoking Other Constructors 352Try It 354Lesson Requirements 354Hints 355Step-by-Step 355Exercises 358LESSON 25: FINE-TUNING CLASSES 361Overloading Methods 361Overriding Methods 362Overriding ToString 363Try It 365Lesson Requirements 365Hints 365Step-by-Step 366Exercises 367LESSON 26: OVERLOADING OPERATORS 371Overloadable Operators 371Unary Operators 372Binary Operators 373Comparison Operators 374Conversion Operators 374Try It 375Lesson Requirements 375Hints 376Step-by-Step 376Exercises 379LESSON 27: USING INTERFACES 383Interface Advantages 383Multiple Inheritance 383Code Generalization 384Implementing Interfaces 385Defining Interfaces 388Try It 389Lesson Requirements 389Hints 390Step-by-Step 390Exercises 392LESSON 28: MAKING GENERIC CLASSES 397Defining Generic Classes 397Using Generic Constraints 399Making Generic Methods 400Try It 401Lesson Requirements 401Hints 402Step-by-Step 402Exercises 403PART V: SYSTEM INTERACTIONSLESSON 29: USING FILES 409Filesystem Classes 409DriveInfo 410DirectoryInfo 410Directory 412FileInfo 412File 413Path 414Streams 415Writing Files 416Reading Files 417Try It 418Lesson Requirements 418Hints 418Step-by-Step 418Exercises 419LESSON 30: PRINTING 421Windows Forms Printing 421Getting Started 422Starting a Printout 422Drawing Shapes 423Drawing Text 424WPF Printing 425Printing Visuals 426Try It 431Lesson Requirements 431Hints 431Step-by-Step 432Exercises 434PART VI: WINDOWS APPSLESSON 31: WINDOWS STORE APPS 439Navigation Style 439App Styles 440App Images 440Deployment 444Deploying Locally 444Deploying to the Windows Store 445WPF Techniques 446Using Styles 446Setting Dependency Properties 447Try It 448Lesson Requirements 448Hints 449Step-by-Step 449Exercises 452LESSON 32: WINDOWS PHONE APPS 455Building Apps 455Navigation Style 458App Styles 458App Images 459Try It 461Lesson Requirements 461Step-by-Step 462Exercises 462PART VII: SPECIALIZED TOPICSLESSON 33: LOCALIZING PROGRAMS 467Understanding Localization 468Building Localized Interfaces 469Testing Localizations 469Processing Locale-Specific Values 470Try It 472Lesson Requirements 472Hints 472Step-by-Step 472Exercises 474LESSON 34: PROGRAMMING DATABASES, PART 1 479Connecting to a Database 479Displaying Data in a Grid 483Displaying Data One Record at a Time 486Try It 488Lesson Requirements 488Hints 488Step-by-Step 488Exercises 489LESSON 35: PROGRAMMING DATABASES, PART 2 493Searching 493Filtering 494Sorting 495Try It 495Lesson Requirements 495Hints 496Step-by-Step 496Exercises 496LESSON 36: LINQ TO OBJECTS 499LINQ Basics 499where Clauses 501order by Clauses 504select Clauses 504Try It 507Lesson Requirements 508Hints 508Step-by-Step 508Exercises 509LESSON 37: LINQ TO SQL 511Connecting to the Database 511Making LINQ to SQL Classes 515Writing Code 517Using LINQ Queries 518Understanding Nullable Fields 519Understanding Query Execution 520Using LINQ to SQL with Access 522Try It 524Lesson Requirements 524Hints 524Step-by-Step 524Exercises 525AFTERWORD: WHAT'S NEXT? 527INDEX 529
... weniger
Bibliographische Angaben
- Autor: Rod Stephens
- 2 Rev ed, 600 Seiten, mit Abbildungen, Maße: 23,5 x 18,9 cm, Kartoniert (TB), Englisch
- Verlag: John Wiley & Sons
- ISBN-10: 1119065666
- ISBN-13: 9781119065661
- Erscheinungsdatum: 23.10.2015
Sprache:
Englisch
Kommentar zu "C# 24-Hour Trainer"
0 Gebrauchte Artikel zu „C# 24-Hour Trainer“
Zustand | Preis | Porto | Zahlung | Verkäufer | Rating |
---|
Schreiben Sie einen Kommentar zu "C# 24-Hour Trainer".
Kommentar verfassen