Articoli correlati a Microsoft Visual C# .Net Deluxe Learning Edition Version...

Microsoft Visual C# .Net Deluxe Learning Edition Version 2003 - Brossura

 
9780735619104: Microsoft Visual C# .Net Deluxe Learning Edition Version 2003

Sinossi

Build your dexterity with Visual C# and begin writing Microsoft .NET-connected applications one step at a time! This practical, hands-on tutorial expertly guides you through the fundamentals from learning Visual C# syntax to writing and running your first components, Web services, and applications. Work at your own pace through easy-to-follow lessons and hands-on exercises to teach yourself essential techniques. And stay ahead of the curve by working with real-world examples and best practices for Visual C# development.

Discover how to:

  • Declare variables, define methods, and construct statements
  • Handle and trap exceptions
  • Use object-oriented techniques, such as inheritance and encapsulation
  • Manage resources and use the garbage collector
  • Build components, including properties, indexers, and events
  • Define operators to enhance class usability
  • Create GUI components and user controls
  • Access data sources using Microsoft ADO.NET
  • Write and manipulate XML documents
  • Construct Web Forms that display large volumes of data
  • Validate user input with Microsoft ASP.NET controls
  • Write, test, and deploy Web services

CD features:

  • Code examples in Visual C# .NET 2003
  • All the book’s practice files
  • Fully seachable eBook

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

L'autore

Developed by senior editors and content managers at Microsoft Corporation.

Contenuti

Acknowledgments xv
Introduction xvii
PART 1 INTRODUCING MICROSOFT VISUAL C# AND VISUAL STUDIO .NET
CHAPTER 1 Welcome to C# 3
Beginning Programming with the Visual Studio .NET Environment 4
Writing Your First Program 7
Using Namespaces 11
Creating Documentation Using XML and Comments 14
Creating a Windows Forms Application 18
CHAPTER 2 Working with Variables, Operators, and Expressions 27
Understanding Statements 27
Using Identifiers 28
Identifying Keywords 28
Using Variables 29
Naming Variables 29
Declaring Variables 30
Working with Primitive Data Types 31
Displaying Primitive Data Type Values 32
Setting Arithmetic Operators 35
Determining an Operator’s Values 35
Examining Arithmetic Operators 36
Controlling Precedence 39
Using Associativity to Evaluate Expressions 40
Incrementing and Decrementing Variables 40
CHAPTER 3 Writing Methods and Applying Scope 43
Declaring Methods 43
Specifying the Method Declaration Syntax 44
Writing return Statements 45
Calling Methods 47
Specifying the Method Call Syntax 47
Understanding Scope 48
Creating Local Scope with a Method 49
Creating Class Scope with a Class 49
Overloading Identifiers 50
Writing and Calling Methods 51
CHAPTER 4 Using Decision Statements 59
Declaring bool Variables 59
Using Boolean Operators 60
Understanding Equality and Relational Operators 60
Understanding Logical Operators 61
Summarizing Operator Precedence and Associativity 62
Executing if Statements 62
Understanding if Statement Syntax 63
Using Blocks to Group Statements 64
Cascading if Statements 64
Using switch Statements 67
Understanding switch Statement Syntax 68
Following the switch Statement Rules 69
CHAPTER 5 Using Iteration Statements 73
Using Compound Assignment Operators 73
Writing while Statements 75
Writing for Statements 76
Understanding for Statement Scope 77
Writing do Statements 77
CHAPTER 6 Managing Errors and Exceptions 93
Coping with Errors 93
Trying Code and Catching Exceptions 94
Using Multiple catch Handlers 95
Writing a General catch Handler 96
Using Checked and Unchecked Integer Arithmetic 100
Writing checked Statements 100
Writing Checked Expressions 101
Throwing Exceptions 104
Writing a finally Block 109
PART 2 UNDERSTANDING THE C# LANGUAGE
CHAPTER 7 Creating and Managing Classes and Objects 115
What Is Classification? 115
What Is Encapsulation? 116
Controlling Accessibility 117
Working with Constructors and the new Keyword 119
Overloading Constructors 121
Understanding static Methods and Data 128
Creating a Shared Field 129
Creating a static Field with the const Keyword 130
CHAPTER 8 Understanding Values and References 135
Copying int Variables and Classes 135
Using ref and out Parameters 139
Creating ref Parameters 140
Creating out Parameters 141
What Are the Stack and the Heap? 143
Using the Stack and the Heap 143
What Is System.Object? 144
Boxing 146
Unboxing 146
Pointers and Unsafe Code 148
CHAPTER 9 Creating Value Types with Enumerations and Structs 153
Working with Enumerations 153
Declaring an Enumeration Type 154
Choosing Enumeration Literal Values 154
Choosing an Enumeration’s Underlying Type 154
Using an Enumeration 155
Working with Struct Types 157
Declaring Struct Types 158
Understanding Struct and Class Differences 158
Declaring Struct Variables 160
Understanding Struct Definite Assignment 161
Calling Struct Constructors 162
Copying Struct Variables 163
Understanding Keyword-Type Equivalences 164
CHAPTER 10 Using Arrays and Collections 171
What Is an Array? 171
Declaring Array Variables 171
Creating Array Instances 172
Initializing Array Variables 173
Accessing Individual Array Elements 174
Iterating Through an Array 175
Copying Arrays 176
Using the System.Array Class 178
What Are Collection Classes? 179
ArrayList 180
Queue 182
Stack 183
SortedList 184
Comparing Arrays and Collections 186
Using Collection Classes to Play Cards 186
CHAPTER 11 Understanding Parameter Arrays 193
Creating Overloaded Methods 193
Using Array Arguments 194
Declaring params Arrays 195
Using params object[ ] 198
Using params Arrays 200
Using the Main Method 204
CHAPTER 12 Working with Inheritance 207
What Is Inheritance? 207
Understanding Core Syntax 208
Base Classes and Derived Classes 208
Calling Base Class Constructors 209
new Methods 210
virtual Methods 211
override Methods 212
protected Access 213
Creating Interfaces 214
Syntax 215
Restrictions 215
Implementing an Interface 216
Abstract Classes 217
Sealed Classes 220
Sealed Methods 220
Extending an Inheritance Hierarchy 220
Working with Multiple Interfaces 226
Syntax 226
Explicit Interface Implementation 226
Summarizing Keyword Combinations 228
CHAPTER 13 Using Garbage Collection and Resource Management 231
Garbage Collection 231
Comparing Values and Objects 231
The Life and Times of an Object 232
Writing Destructors 233
Why Use the Garbage Collector? 234
How Does the Garbage Collector Run? 235
Recommendations 236
Resource Management 236
The Disposal Method Pattern 236
Exception-Safe Disposal 237
The using Statement 238
Adapting to IDisposable 239
Calling a Disposal Method from a Destructor 240
Making Code Exception-Safe 242
PART 3 CREATING COMPONENTS
CHAPTER 14 Implementing Properties to Access Attributes 249
Comparing Fields and Methods 249
What Are Properties? 251
get Accessors 252
set Accessors 252
Read/Write Properties 253
Read-Only Properties 253
Write-Only Properties 254
Understanding the Property Restrictions 254
Using Static Properties 255
Declaring Interface Properties 257
Using Properties in a Windows Application 258
CHAPTER 15 Using Indexers 265
What Is an Indexer? 265
An Example That Doesn’t Use Indexers 265
The Same Example Using Indexers 267
get Accessors 269
set Accessors 269
Read/Write Indexers 269
Read-Only Indexers 270
Write-Only Indexers 270
Comparing Indexers and Methods 271
Comparing Indexers and Arrays 271
Comparing Indexers and Properties 272
Interface Indexers 272
Using Indexers in a Windows Application 273
CHAPTER 16 Delegates and Events 281
Using Delegate Declarations and Instances 281
An Example That Doesn’t Use a Delegate 281
The Same Example Using a Delegate 284
Declaring a Delegate 284
Calling a Delegate 285
Creating a Delegate Instance 286
Using Delegates 288
Enabling Notifications with Events 290
Declaring an Event 291
Subscribing to an Event 291
Unsubscribing from an Event 292
Calling an Event 292
Understanding GUI Events 293
Using Events 295
CHAPTER 17 Operator Overloading 301
Working with Operators 301
Understanding Operators 301
Implementing Operator Constraints 302
Overloaded Operators 303
Creating Symmetric Operators 304
Understanding Compound Assignment 306
Declaring Increment and Decrement Operators 307
Using Operator Pairs 308
Implementing an Operator 309
Declaring Conversion Operators 312
Providing Built-In Conversions 312
Declaring User-Defined Conversion Operators 312
Creating Symmetric Operators (Again) 313
Adding an Implicit Conversion Operator 314
PART 4 WORKING WITH WINDOWS APPLICATIONS
CHAPTER 18 Introducing Windows Forms 319
Creating Your Application 320
Creating a Windows Forms Application 320
What Are the Common Windows Forms Properties? 324
Changing Properties Programmatically 326
Adding Controls to the Form 327
Using Windows Forms Controls 327
Setting Control Properties 329
Changing Properties Dynamically 332
Publishing Events in Windows Forms 335
Processing Events in Windows Forms 335
CHAPTER 19 Working with Menus 341
Menu Guidelines and Style 341
Adding Menus and Processing Menu Events 342
Creating a Menu 342...

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

  • EditoreMicrosoft Pr
  • Data di pubblicazione2003
  • ISBN 10 0735619107
  • ISBN 13 9780735619104
  • RilegaturaCopertina flessibile
  • LinguaInglese
  • Numero edizione1
  • Numero di pagine700

Compra usato

Condizioni: buono
Pages can have notes/highlighting...
Visualizza questo articolo

GRATIS per la spedizione in U.S.A.

Destinazione, tempi e costi

Altre edizioni note dello stesso titolo

9780735619081: Microsoft Visual C++ .Net Deluxe Learning Edition: Version 2003

Edizione in evidenza

ISBN 10:  0735619085 ISBN 13:  9780735619081
Casa editrice: Microsoft Pr, 2003
Brossura

Risultati della ricerca per Microsoft Visual C# .Net Deluxe Learning Edition Version...

Foto dell'editore

Sharp, John
Editore: Microsoft Press, 2003
ISBN 10: 0735619107 ISBN 13: 9780735619104
Antico o usato Paperback

Da: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less 3.7. Codice articolo G0735619107I3N00

Contatta il venditore

Compra usato

EUR 14,65
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Sharp, John
Editore: Microsoft Press, 2003
ISBN 10: 0735619107 ISBN 13: 9780735619104
Antico o usato Paperback

Da: Midtown Scholar Bookstore, Harrisburg, PA, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: Very Good. Very Good - Crisp, clean, unread book with some shelfwear/edgewear, may have a remainder mark - NICE Standard-sized. Codice articolo M0735619107Z2

Contatta il venditore

Compra usato

EUR 11,07
Convertire valuta
Spese di spedizione: EUR 5,37
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Corporation, Microsoft
Editore: Microsoft Press, 2003
ISBN 10: 0735619107 ISBN 13: 9780735619104
Antico o usato Brossura

Da: Hay-on-Wye Booksellers, Hay-on-Wye, HEREF, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: Fine. Still in new wrapping, slight crease right side of back cover & top right corner of front cover. (from storage). Codice articolo 112699-2

Contatta il venditore

Compra usato

EUR 6,83
Convertire valuta
Spese di spedizione: EUR 23,79
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

MICROSOFT CORPORATION
Editore: Microsoft Press, 2003
ISBN 10: 0735619107 ISBN 13: 9780735619104
Nuovo Brossura

Da: Basi6 International, Irving, TX, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: Brand New. New. US edition. Expediting shipping for all USA and Europe orders excluding PO Box. Excellent Customer Service. Codice articolo ABEJUNE24-325009

Contatta il venditore

Compra nuovo

EUR 54,99
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Jon Jagger John Sharp
Editore: Microsoft Press, 2003
ISBN 10: 0735619107 ISBN 13: 9780735619104
Nuovo Brossura

Da: Books Puddle, New York, NY, U.S.A.

Valutazione del venditore 4 su 5 stelle 4 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. pp. 672. Codice articolo 264203167

Contatta il venditore

Compra nuovo

EUR 93,63
Convertire valuta
Spese di spedizione: EUR 3,57
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Jagger Jon Sharp John
Editore: Microsoft Press, 2003
ISBN 10: 0735619107 ISBN 13: 9780735619104
Nuovo Brossura

Da: Majestic Books, Hounslow, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. pp. 672. Codice articolo 3644736

Contatta il venditore

Compra nuovo

EUR 91,56
Convertire valuta
Spese di spedizione: EUR 7,73
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Jagger Jon Sharp John
Editore: Microsoft Press, 2003
ISBN 10: 0735619107 ISBN 13: 9780735619104
Nuovo Brossura

Da: Biblios, Frankfurt am main, HESSE, Germania

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. pp. 672. Codice articolo 184203157

Contatta il venditore

Compra nuovo

EUR 94,02
Convertire valuta
Spese di spedizione: EUR 9,95
Da: Germania a: U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

MICROSOFT CORP
Editore: MICROSOFT LEARNING, 2003
ISBN 10: 0735619107 ISBN 13: 9780735619104
Antico o usato Brossura

Da: OM Books, Sevilla, SE, Spagna

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: Usado - bueno. Codice articolo 9780735619104

Contatta il venditore

Compra usato

EUR 460,00
Convertire valuta
Spese di spedizione: EUR 58,49
Da: Spagna a: U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello