• More Effective C#:改善C#程序的50个具体办法(英文版)
  • More Effective C#:改善C#程序的50个具体办法(英文版)
  • More Effective C#:改善C#程序的50个具体办法(英文版)
21年品牌 40万+商家 超1.5亿件商品

More Effective C#:改善C#程序的50个具体办法(英文版)

英文版,无书写,无压褶

118 九五品

仅1件

北京通州
认证卖家担保交易快速发货售后保障

作者[美]瓦格纳 著

出版社人民邮电出版社

出版时间2009-11

版次1

装帧平装

上书时间2019-09-01

   商品详情   

品相描述:九五品
图书标准信息
  • 作者 [美]瓦格纳 著
  • 出版社 人民邮电出版社
  • 出版时间 2009-11
  • 版次 1
  • ISBN 9787115215109
  • 定价 55.00元
  • 装帧 平装
  • 开本 16开
  • 纸张 胶版纸
  • 页数 297页
  • 字数 310千字
  • 正文语种 简体中文,英语
  • 丛书 图灵程序设计丛书·微软技术系列
【内容简介】
  《MoreEffectiveC#:改善C#程序的50个具体办法(英文版)》针对C#2.0和3.0中添加的新特性给出了改善C#代码的50条实用建议,其中着重介绍了泛型技术,这是C#2.0和3.0中众多新特性的基石。《MoreEffectiveC#:改善C#程序的50个具体办法(英文版)》按照建议的主题进行分类,其中每个建议针对某个特定问题进行展开,分析了问题的原因,给出解决的办法。
  《MoreEffectiveC#:改善C#程序的50个具体办法(英文版)》适合各层次.NET开发人员阅读。
【作者简介】
  BillWagner是世界知名的.NET专家,微软CO领域的MVP,并荣获微软RegionalDirector称号。他是著名软件咨询公司SRTSolutions的创始人,有20多年软件开发经验,曾经领导了众多成功的Windows平台产品的开发。他是微软开发社区的活跃人物,长期担任MSDNMagazine、ASP.NETPro、VisualStudioMagazine等技术杂志的专栏作者。
  他的blog是http://www.srtsolutions.com/public/blog/20574,可以通过wwagner@SRTSolutions.com与他联系。
【目录】
Chapter1.WorkingwithGenerics4
Item1.UseGenericReplacementsof1.xFrameworkAPIClasses4
Item2.DefineConstraintsThatAreMinimalandSufficient14
Item3.SpecializeGenericAlgorithmsUsingRuntimeTypeChecking19
Item4.UseGenericstoForceCompile-TimeTypeInference26
Item5.EnsureThatYourGenericClassesSupportDisposableTypeParameters32
Item6.UseDelegatestoDefineMethodConstraintsonTypeParameters36
Item7.DoNotCreateGenericSpecializationonBaseClassesorInterfaces42
Item8.PreferGenericMethodsUnlessTypeParametersAreInstanceFields46
Item9.PreferGenericTuplestoOutputandRefParameters50
Item10.ImplementClassicInterfacesinAdditiontoGenericInterfaces56

Chapter2.MultithreadinginC#63
Item11.UsetheThreadPoolInsteadofCreatingThreads67
Item12.UseBackgroundWorkerforCross-ThreadCommunication74
Item13.Uselock()asYourFirstChoiceforSynchronization78
Item14.UsetheSmallestPossibleScopeforLockHandles86
Item15.AvoidCallingUnknownCodeinLockedSections90
Item16.UnderstandCross-ThreadCallsinWindowsFormsandWPF93

Chapter3.C#DesignPractices105
Item17.CreateComposableAPIsforSequences105
Item18.DecoupleIterationsfromActions,Predicates,andFunctions112
Item19.GenerateSequenceItemsasRequested117
Item20.LoosenCouplingbyUsingFunctionParameters120
Item21.CreateMethodGroupsThatAreClear,Minimal,andComplete127
Item22.PreferDefiningMethodstoOverloadingOperators134
Item23.UnderstandHowEventsIncreaseRuntimeCouplingAmongObjects137
Item24.DeclareOnlyNonvirtualEvents139
Item25.UseExceptionstoReportMethodContractFailures146
Item26.EnsureThatPropertiesBehaveLikeData150
Item27.DistinguishBetweenInheritanceandComposition156

Chapter4.C#3.0LanguageEnhancements163
Item28.AugmentMinimalInterfaceContractswithExtensionMethods163
Item29.EnhanceConstructedTypeswithExtensionMethods167
Item30.PreferImplicitlyTypedLocalVariables169
Item31.LimitTypeScopebyUsingAnonymousTypes176
Item32.CreateComposableAPIsforExternalComponents180
Item33.AvoidModifyingBoundVariables185
Item34.DefineLocalFunctionsonAnonymousTypes191
Item35.NeverOverloadExtensionMethods196

Chapter5.WorkingwithLINQ201
Item36.UnderstandHowQueryExpressionsMaptoMethodCalls201
Item37.PreferLazyEvaluationQueries213
Item38.PreferLambdaExpressionstoMethods218
Item39.AvoidThrowingExceptionsinFunctionsandActions222
Item40.DistinguishEarlyfromDeferredExecution225
Item41.AvoidCapturingExpensiveResources229
Item42.DistinguishBetweenIEnumerableandIQueryableDataSources242
Item43.UseSingle()andFirst()toEnforceSemanticExpectationsonQueries247
Item44.PreferStoringExpression<>toFunc<>249

Chapter6.Miscellaneous255
Item45.MinimizetheVisibilityofNullableValues255
Item46.GivePartialClassesPartialMethodsforConstructors,Mutators,andEventHandlers261
Item47.LimitArrayParameterstoParamsArrays266
Item48.AvoidCallingVirtualFunctionsinConstructors271
Item49.ConsiderWeakReferencesforLargeObjects274
Item50.PreferImplicitPropertiesforMutable,NonserializableData277

Index283
点击展开 点击收起

   相关推荐   

—  没有更多了  —

以下为对购买帮助不大的评价

此功能需要访问孔网APP才能使用
暂时不用
打开孔网APP