成功加入购物车
[美] 瓦格纳 著 / 人民邮电出版社 / 2009-11 / 平装
售价 ¥ 10.00 1.8折
定价 ¥55.00
品相 九品
优惠 满包邮
延迟发货说明
上书时间2023-10-30
卖家超过10天未登录
More Effective C#:改善C#程序的50个具体办法(英文版)
《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.WorkingwithGenerics4Item1.UseGenericReplacementsof1.xFrameworkAPIClasses4Item2.DefineConstraintsThatAreMinimalandSufficient14Item3.SpecializeGenericAlgorithmsUsingRuntimeTypeChecking19Item4.UseGenericstoForceCompile-TimeTypeInference26Item5.EnsureThatYourGenericClassesSupportDisposableTypeParameters32Item6.UseDelegatestoDefineMethodConstraintsonTypeParameters36Item7.DoNotCreateGenericSpecializationonBaseClassesorInterfaces42Item8.PreferGenericMethodsUnlessTypeParametersAreInstanceFields46Item9.PreferGenericTuplestoOutputandRefParameters50Item10.ImplementClassicInterfacesinAdditiontoGenericInterfaces56Chapter2.MultithreadinginC#63Item11.UsetheThreadPoolInsteadofCreatingThreads67Item12.UseBackgroundWorkerforCross-ThreadCommunication74Item13.Uselock()asYourFirstChoiceforSynchronization78Item14.UsetheSmallestPossibleScopeforLockHandles86Item15.AvoidCallingUnknownCodeinLockedSections90Item16.UnderstandCross-ThreadCallsinWindowsFormsandWPF93Chapter3.C#DesignPractices105Item17.CreateComposableAPIsforSequences105Item18.DecoupleIterationsfromActions,Predicates,andFunctions112Item19.GenerateSequenceItemsasRequested117Item20.LoosenCouplingbyUsingFunctionParameters120Item21.CreateMethodGroupsThatAreClear,Minimal,andComplete127Item22.PreferDefiningMethodstoOverloadingOperators134Item23.UnderstandHowEventsIncreaseRuntimeCouplingAmongObjects137Item24.DeclareOnlyNonvirtualEvents139Item25.UseExceptionstoReportMethodContractFailures146Item26.EnsureThatPropertiesBehaveLikeData150Item27.DistinguishBetweenInheritanceandComposition156Chapter4.C#3.0LanguageEnhancements163Item28.AugmentMinimalInterfaceContractswithExtensionMethods163Item29.EnhanceConstructedTypeswithExtensionMethods167Item30.PreferImplicitlyTypedLocalVariables169Item31.LimitTypeScopebyUsingAnonymousTypes176Item32.CreateComposableAPIsforExternalComponents180Item33.AvoidModifyingBoundVariables185Item34.DefineLocalFunctionsonAnonymousTypes191Item35.NeverOverloadExtensionMethods196Chapter5.WorkingwithLINQ201Item36.UnderstandHowQueryExpressionsMaptoMethodCalls201Item37.PreferLazyEvaluationQueries213Item38.PreferLambdaExpressionstoMethods218Item39.AvoidThrowingExceptionsinFunctionsandActions222Item40.DistinguishEarlyfromDeferredExecution225Item41.AvoidCapturingExpensiveResources229Item42.DistinguishBetweenIEnumerableandIQueryableDataSources242Item43.UseSingle()andFirst()toEnforceSemanticExpectationsonQueries247Item44.PreferStoringExpression<>toFunc<>249Chapter6.Miscellaneous255Item45.MinimizetheVisibilityofNullableValues255Item46.GivePartialClassesPartialMethodsforConstructors,Mutators,andEventHandlers261Item47.LimitArrayParameterstoParamsArrays266Item48.AvoidCallingVirtualFunctionsinConstructors271Item49.ConsiderWeakReferencesforLargeObjects274Item50.PreferImplicitPropertiesforMutable,NonserializableData277Index283
展开全部
配送说明
...
相似商品
为你推荐
开播时间:09月02日 10:30