版權資訊
開本: 16
定價: 95.00 元
圖書目錄
PartI CLRBasics
1 TheCLR’sExecutionModel
CompilingSourceCodeintoManagedModules
CombiningManagedModulesintoAssemblies
LoadingtheCommonLanguageRuntime
ExecutingYourAssembly’sCode
ILandVerification
UnsafeCode
TheNativeCodeGeneratorTool:NGen.exe
IntroducingtheFrameworkClassLibrary
TheCommonTypeSystem
TheCommonLanguageSpecification
InteroperabilitywithUnmanagedCode
2 Building,Packaging,Deploying,andAdministeringApplicationsandTypes
.NETFrameworkDeploymentGoals
BuildingTypesintoaModule
ResponseFiles
ABriefLookatMetadata
CombiningModulestoFormanAssembly
AddingAssembliestoaProjectbyUsingtheVisualStudioIDE
UsingtheAssemblyLinker
IncludingResourceFilesintheAssembly
AssemblyVersionResourceInformation
VersionNumbers
Culture
SimpleApplicationDeployment(PrivatelyDeployedAssemblies)
SimpleAdministrativeControl(Configuration)
3 SharedAssembliesandStronglyNamedAssemblies
TwoKindsofAssemblies,TwoKindsofDeployment
GivinganAssemblyaStrongName
TheGlobalAssemblyCache
TheInternalStructureoftheGAC
BuildinganAssemblythatReferencesaStronglyNamedAssembly
StronglyNamedAssembliesAreTamper-Resistant
DelayedSigning
PrivatelyDeployingStronglyNamedAssemblies
HowtheRuntimeResolvesTypeReferences
AdvancedAdministrativeControl(Configuration)
PublisherPolicyControl
PartIIWorkingwithTypes
4 TypeFundamentals
AllTypesAreDerivedfromSystem.Object
CastingBetweenTypes
CastingwiththeC#isandasOperators
NamespacesandAssemblies
HowThingsRelateatRunTime
5 Primitive,Reference,andValueTypes
ProgrammingLanguagePrimitiveTypes
CheckedandUncheckedPrimitiveTypeOperations
ReferenceTypesandValueTypes
BoxingandUnboxingValueTypes
ChangingFieldsinaBoxedValueTypebyUsingInterfaces(AndWhyYouShouldn’tDoThis)
ObjectEqualityandIdentity
ObjectHashCodes
PartIIIDesigningTypes
6 TypeandMemberBasics
TheDifferentKindsofTypeMembers
TypeVisibility
FriendAssemblies
MemberAccessibility
StaticClasses
PartialClasses,Structures,andInterfaces
Components,Polymorphism,andVersioning
HowtheCLRCallsVirtualMethods,Properties,andEvents
UsingTypeVisibilityandMemberAccessibilityIntelligently
DealingwithVirtualMethodswhenVersioningTypes
7 ConstantsandFields
Constants
Fields
8 Methods:Constructors,Operators,Conversions,andParameters
InstanceConstructorsandClasses(ReferenceTypes)
InstanceConstructorsandStructures(ValueTypes)
TypeConstructors
TypeConstructorPerformance
OperatorOverloadMethods
OperatorsandProgrammingLanguageInteroperability
ConversionOperatorMethods
PassingParametersbyReferencetoaMethod
PassingaVariableNumberofArgumentstoaMethod
DeclaringaMethod’sParameterTypes
ConstantMethodsandParameters
9 Properties
ParameterlessProperties
DefiningPropertiesIntelligently
ParameterfulProperties
ThePerformanceofCallingPropertyAccessorMethods
PropertyAccessorAccessibility
GenericPropertyAccessorMethods
10 Events
DesigningaTypeThatExposesanEvent
Step#1:Defineatypethatwillholdanyadditionalinformationthatshouldbesenttoreceiversoftheeventnotification
Step#2:Definetheeventmember
Step#3:Defineamethodresponsibleforraisingtheeventtonotifyregisteredobjectsthattheeventhasoccurred
Step#4:Defineamethodthattranslatestheinputintothedesiredevent
HowEventsAreImplemented
DesigningaTypeThatListensforanEvent
EventsandThreadSafety
ExplicitlyControllingEventRegistrationandUnregistration
DesigningaTypeThatDefinesLotsofEvents
PartIVEssentialTypes
11 Chars,Strings,andWorkingwithText
12 EnumeratedTypesandBitFlags
13 Arrays
14 Interfaces
15 Delegates
16 Generics
17 CustomAttributes
18 NullableValueTypes
19 Exceptions
20 AutomaticMemoryManagement(GarbageCollection)
21 CLRHostingandAppDomains
22 AssemblyLoadingandReflection
23 PerformingAsynchronousOperations
24 ThreadSynchronization
Index
……