E-Book, Englisch, 464 Seiten
Nash Accelerated VB 2008
1. ed
ISBN: 978-1-4302-0339-1
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
E-Book, Englisch, 464 Seiten
ISBN: 978-1-4302-0339-1
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
Accelerated VB 9.0 is the fastest path to VB mastery. All VB programmers need to know and understand how VB really works but very few books address this. No other book covers the topic in the depth that this book does. It teaches both core VB language concepts and how to use them in high-performance code. All programmers moving to VB from any language or moving up to VB 9.0 from VB 2005 will find this book well worth buying, reading, and using as a reference.
Trey Nash is an escalation engineer at Microsoft working on the Windows operating systems as well as various other products. When he is not working feverishly within the bowels of the operating system, he is delivering training on .NET Platform debugging as well as user mode and kernel mode debugging on the Windows platform. Prior to working at Microsoft, he was a principal software engineer working on security solutions at Credant Technologies, a market-leading security software company. He also enjoined a stint at a large Bluetooth company developing Bluetooth solutions for the release of Microsoft Vista. Before that, he called Macromedia, Inc. home for five years. At Macromedia, he worked on a cross-product engineering team for several years, designing solutions for a wide range of products throughout the company, including Flash, Fireworks, and Dreamweaver. He specialized in COM/DCOM using C/C++/ATL until the .NET revolution. He's been glued to computers ever since he scored his first, a TI-99/4A, when he was a mere 13 years old. He astounded his parents by turning a childhood obsession into a decent-paying career, much to their dismay. Trey received his bachelor of science and his master of engineering degrees in electrical engineering from Texas A&M University. When he's not sitting in front of a computer, you can find him working in his garage, playing his piano, brushing up on a foreign language (Russian and Icelandic are the current favorites), or playing ice hockey.
Autoren/Hrsg.
Weitere Infos & Material
1;Contents at a Glance;5
2;Contents;6
3;About the Authors;10
4;About the Technical Reviewers;11
5;Acknowledgments;12
6;Introduction;13
6.1;About This Book;13
7;VB 2008 Overview;16
7.1;Differences Between VB 2008, C# 3.0, and VB6;16
7.2;CLR Garbage Collection;18
7.3;Common Type System;18
7.4;A Simple VB 2008 Program;20
7.5;What’s New in VB 2008;20
7.6;Summary;25
8;VB 2008 Syntax;26
8.1;Types and Variables;26
8.2;Namespaces;40
8.3;Statements;44
8.4;Control Flow Constructs;44
8.5;Iteration and Looping Constructs;46
8.6;Summary;48
9;Classes and Structures;49
9.1;Class Definitions;49
9.2;Value Type Definitions;62
9.3;Boxing and Unboxing;66
9.4;System. Object;71
9.5;Creating Objects;72
9.6;Destroying Objects;76
9.7;Disposable Objects;77
9.8;Summary;81
10;Methods, Properties, and Fields;82
10.1;Methods;82
10.2;Properties;90
10.3;Fields;93
10.4;Summary;97
11;VB 2008 and the CLR;98
11.1;From VB to IL;98
11.2;From IL to Platform;100
11.3;Understanding Assemblies;101
11.4;Metadata;108
11.5;Summary;109
12;Interfaces;110
12.1;Interfaces Are Reference Types;110
12.2;Defining Interfaces;111
12.3;Implementing Interfaces in Structures;116
12.4;Using Generics with Interfaces;118
12.5;Contracts;120
12.6;Choosing Between Interfaces and Classes;123
12.7;Polymorphism with Interfaces;127
12.8;Summary;128
13;Operator Overloading;129
13.1;Just Because You Can Doesn’t Mean You Should;129
13.2;Operators That Can Be Overloaded;129
13.3;Types and Formats of Overloaded Operators;130
13.4;Operators Shouldn’t Mutate Their Operands;131
13.5;Does Parameter Order Matter?;132
13.6;Overloading the Addition Operator;133
13.7;Comparison Operators;134
13.8;Conversion Operators;141
13.9;Summary;144
14;Exception Handling;145
14.1;Handling Exceptions;145
14.2;Avoid Using Exceptions to Control Flow;146
14.3;Mechanics of Handling Exceptions in VB 2008;146
14.4;Achieving Exception Neutrality;155
14.5;Creating Custom Exception Classes;167
14.6;Working with Allocated Resources and Exceptions;170
14.7;Providing Rollback Behavior;174
14.8;Summary;177
15;Working with Strings;178
15.1;String Overview;178
15.2;String Literals;179
15.3;Format Specifiers and Globalization;180
15.4;Working with Strings from Outside Sources;192
15.5;StringBuilder;195
15.6;Searching Strings with Regular Expressions;196
15.7;Summary;207
16;Arrays and Collections;208
16.1;Introduction to Arrays;208
16.2;Multidimensional Arrays;211
16.3;Multidimensional Jagged Arrays;213
16.4;Collection Types;214
16.5;How Iteration Works;222
16.6;Summary;226
17;Delegates and Events;227
17.1;Overview of Delegates;227
17.2;Delegate Creation and Use;228
17.3;Events;239
17.4;Summary;245
18;Generics;246
18.1;Introduction to Generics;246
18.2;Generic Type Definitions and Constructed Types;249
18.3;Constraints;260
18.4;Generic System Collections;264
18.5;Select Problems and Solutions;266
18.6;Summary;279
19;Threading;280
19.1;Threading in VB 2008 and . NET 3.5;280
19.2;Synchronizing Threads;294
19.3;Using the Thread Pool;318
19.4;Summary;325
20;VB 2008 Best Practices;326
20.1;Reference- Type Best Practices;326
20.2;Value- Type Best Practices;371
20.3;Summary;381
21;LINQ with VB 2008;382
21.1;LINQ Overview;382
21.2;LINQ to Objects;388
21.3;LINQ to XML;398
21.4;LINQ to SQL;414
21.5;Summary;425
22;Resources;426
22.1;Books;426
22.2;Articles;427
22.3;Web;427
23;Running the Examples;429
23.1;Example Types;429
23.2;A Few Words Regarding Modules;430
24;Index;431




