Skip to:Content
|
Bottom
Cover image for C# developer's headstart
Title:
C# developer's headstart
Personal Author:
Publication Information:
New York : Osborne/McGraw-Hill, 2001
ISBN:
9780072191165
Added Author:

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000004826263 QA76.73.C154 M52 2001 Open Access Book Book
Searching...

On Order

Summary

Summary

This text provides programmers with the answers they need in order to make vital decisions about code adoption and migration. It provides programmers with the answers they need in order to make vital decisions about code adoption and migration.


Table of Contents

Acknowledgmentsp. xi
Introductionp. xiii
Chapter 1 Introduction to C#p. 1
The Component-based Model of Software Designp. 2
The .NET Approach to Component-based Software Developmentp. 5
What Is the .NET Frameworkp. 6
.NET's Common Language Runtimep. 6
.NET's Framework Class Librariesp. 9
.NET Framework Tools and Utilitiesp. 10
Why C#p. 11
What Is C#p. 13
Chapter 2 C# Language Reviewp. 15
A Simple C# Programp. 16
A Few More Comments on Main()p. 17
Adding a Class to the Simple C# Programp. 17
C# Types and Type Managementp. 18
Value Typesp. 19
Struct Typep. 20
Enumerationsp. 22
Reference Typesp. 23
Type Comparisonsp. 25
Boxing and Unboxingp. 25
Type Conversionsp. 26
Arraysp. 27
Object-oriented Component Development in C#p. 28
Object-oriented Features of C#p. 29
Class Constructors and Destructorsp. 40
Methodsp. 42
Fieldsp. 46
Propertiesp. 46
Operator Overloadingp. 48
Delegatesp. 50
Eventsp. 53
Namespaces in C#p. 57
Declaring Namespacesp. 58
Exceptionsp. 59
Attributesp. 61
Indexersp. 62
Writing Unsafe Codep. 65
Documenting Code Using XMLp. 66
C# Coding Stylep. 68
Chapter 3 .NET, the Operating Environment for C#p. 69
Microsoft ILp. 70
How the CLR Gets Loadedp. 72
.NET Building Blocksp. 76
Modulesp. 76
Assembliesp. 76
Application Domainsp. 77
Building Modules and Assembliesp. 78
Robust Version Controlp. 79
Built-in Metadatap. 84
Attribute-based Programmingp. 86
Reflectionp. 88
Cross-language Interoperabilityp. 93
Common Language Specificationp. 94
Common Type Systemp. 95
Object-orientedp. 96
Delegation and Eventsp. 98
Memory Management Through Garbage Collectionp. 98
Garbage Collection Step-by-Stepp. 100
Finalizationp. 102
Strong and Weak Referencesp. 105
Thread Synchronizationp. 107
Chapter 4 C# Language Comparisonsp. 109
Comparing C# to C++p. 110
Comparing C# to Visual Basic.NETp. 127
Comparing C# to Javap. 132
Chapter 5 Working Within the Bounds of C#p. 143
Deterministic Finalizationp. 144
Releasing Resources Explicitlyp. 146
Variable Declaration with the using Keywordp. 147
Reference Countingp. 150
.NET Finalizationp. 153
Multiple Inheritancep. 154
ATLs Multiple Inheritance In-depthp. 155
Containmentp. 156
Interface Implementationp. 160
Macrosp. 162
Combining Macros with Interface Inheritancep. 162
Templatesp. 164
Source Code Securityp. 166
Chapter 6 Integrating Legacy Code with C#p. 167
Integration Approachesp. 168
Calling COM Objects from C#p. 169
Using the TLBIMP Utilityp. 171
The Runtime Callable Wrapperp. 172
Method Return Values and HRESULTsp. 173
COM Object Lifetime and Deterministic Finalizationp. 174
Inheritance and RCW Objectsp. 174
COM Connection Pointsp. 174
Threading of the RCW Componentsp. 176
The COM Callable Wrapper, Calling .NET Objects from COMp. 177
TLBEXP Utilityp. 178
REGASMp. 184
COM Callable Wrapperp. 185
Providing .NET Events to COM Clientsp. 187
Threading of .NET Componentsp. 193
Additional COM Interoperability Attributesp. 193
Additional .NET to Type Library Conversionsp. 194
Data Marshallingp. 196
Strings and the MarshalAsAttributep. 196
Marshalling Objectsp. 197
Platform Invocation Services, Calling Unmanaged APIs from C#p. 199
Interoperability Through Managed C++p. 201
Migrating Codep. 210
Summaryp. 211
Indexp. 213
Go to:Top of Page