Suchen und Finden
Contents at a Glance
5
Contents
6
About the Author
14
About the Technical Reviewer
15
Introduction
16
Ready, Steady, Go!
17
Downloading and Installing the Tools
17
Choosing the Application Type
19
Creating Projects and Solutions
20
Creating the Windows Application
20
Navigating the User Controls of the Solution
28
Creating the Console Application
28
Creating the Class Library
30
Understanding How the . NET Framework Works
35
The Important Stuff to Remember
37
Some Things for You to Do
38
Learning About .NET Number and Value Types
40
Focusing and Organizing Your Development
40
Implementing the Class Library
45
Understanding Numeric and Value Data Types
57
Finishing the Calculator
62
The Important Stuff to Remember
63
Some Things for You to Do
63
Learning About String Manipulations
65
Organizing the Translation Application
65
Building the Translator Application
66
Dealing with Languages and Cultures
82
The Important Stuff to Remember
88
Some Things for You to Do
89
Learning About Data Structures, Decisions, and Loops
90
Understanding the Depth- First Search Algorithm
90
Implementing User-Defined Types
94
Organizing the Search Algorithm
100
Writing the Depth- First Search Code
102
The Important Stuff to Remember
124
Some Things for You to Do
125
Learning About Visual Basic Exception Handling
127
Understanding Errors, Exceptions, and Exception Handling
127
Running the Debugger
128
Handling Exceptions
129
Writing Exception-Safe Code
141
The Important Stuff to Remember
145
Some Things for You to Do
146
Learning the Basics of Object- Oriented Programming
147
Understanding Currency Spreads
148
Organizing the Currency Exchange Application
149
Writing Tests for the Currency Exchange Application
149
Writing the Active Trader and Hotel Trader Currency Converters
164
Learning More About Preprocessor Directives, Properties, and the MustOverride Keyword
169
The Important Stuff to Remember
173
Some Things for You to Do
174
Learning About Components and Class Hierarchies
175
Understanding Some Basic Tax Concepts
175
Organizing the Tax Application
176
Programming Using Ideas
177
Implementing a Tax Engine
185
Using the Base Functionality of the Tax Engine to Calculate Taxes
194
Learning More About Inheritance and Type Casting
200
The Important Stuff to Remember
207
Some Things for You to Do
207
Learning About Component- Oriented Architecture
208
Understanding Kernels
208
Organizing the Lighting Application
209
Building the Kernel
210
Building a Complete Application
233
Learning More About Private Classes and Object Initialization
236
The Important Stuff to Remember
238
Some Things for You to Do
239
Learning About Lists, Delegates, and Lambda Expressions
240
Managing Collections
240
Adding Numbers and Finding Maximum Values
246
Using Delegates
250
Understanding Lambda Expressions
254
Learning More About Collection Types
256
The Important Stuff to Remember
258
Some Things for You to Do
259
Learning About Persistence
260
Organizing the Lottery- Prediction System
260
Piping Data Using a Console
261
Piping Binary Data
279
Tweaking Serialization
288
Completing Custom Types
290
The Important Stuff to Remember
294
Some Things for You to Do
295
Learning About .NET Generics
296
Why Use . NET Generics?
296
The Theory of a Server- Side Spreadsheet
299
Architecting a Server- Side Spreadsheet
302
Implementing the Server Spreadsheet
313
Using the Spreadsheet
319
The Important Stuff to Remember
322
Some Things for You to Do
323
Learning About Application Configuration and Dynamic Loading
324
Convention over Configuration
324
Setting Up the Dynamic Loading Projects
327
Defining and Processing a Configuration File
330
Dynamically Loading an Assembly
333
Loading a Strongly Named Assembly
342
Implementing a Shared Typed Convention-Based Architecture
348
Dynamically Loading Base Class or Interface Types
350
The Important Stuff to Remember
350
Some Things for You to Do
351
Learning About Multithreading
352
Understanding Multitasking
352
Using Threads
355
Implementing a Reader/ Writer Threaded Architecture
370
Implementing a Producer/ Consumer Architecture
374
The Important Stuff to Remember
379
Some Things for You to Do
380
Learning About Relational Database Data
381
Understanding Relational Databases
381
Accessing Relational Databases
385
Designing a Database Using Visual Basic Express
387
Accessing the Database Using ADO. NET
392
Using the Dataset Designer
397
The Important Stuff to Remember
402
Some Things for You to Do
403
Learning About LINQ
404
Finding the Frequency of Winning Numbers
404
Learning More LINQ Tricks
414
Using LINQ in Other Contexts
422
The Important Stuff to Remember
424
Some Things for You to Do
425
Learning About Other Visual Basic Techniques
426
Operators
426
The GoTo Statement
431
. NET Generics Constraints
432
Nullable Types
435
Partial Classes and Methods
436
The Important Stuff to Remember
439
Some Things for You to Do
440
Index
441
Alle Preise verstehen sich inklusive der gesetzlichen MwSt.