资源描述:
《effective c(1)外语英文电子书》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、SafariTechBooksOnline-EffectiveC#:50SpecificWaystoImproveYourC#HomeMySafariMyBookshelfMyAccountLogoutE-MailViewNotesAddNoteAddBookmarkEffectiveC#:50SpecificWaystoImproveYourC#ByBillWagnerPublisher:AddisonWesleyProfessionalPubDate:December03,2004PrintISBN:0-321-24566-0WebISBN:00000
2、00000Tableof•Pages:336ContentsSlots:1.0•IndexC#'sresemblancestoC++,Java,andCmakeiteasiertolearn,butthere'sadownside:C#programmersoftencontinuetouseoldertechniqueswhenfarbetteralternativesareavailable.InEffectiveC#,respected.NETexpertBillWagneridentifiesfiftywaysyoucanstartleveragi
3、ngthefullpowerofC#inordertowritefaster,moreefficient,andmorereliablesoftware.EffectiveC#followstheformatthatmadeEffectiveC++(Addison-Wesley,1998)andEffectiveJava(Addison-Wesley,2001)indispensabletohundredsofthousandsofdevelopers:clear,practicalexplanations,experttips,andplentyofre
4、alisticcodeexamples.DrawingonhisunsurpassedC#experience,Wagneraddresseseverythingfromvaluetypestoassemblies,exceptionstoreflection.Alongtheway,heshowsexactlyhowtoavoiddozensofcommonC#performanceandreliabilitypitfalls.You'lllearnhowto:●UsebothtypesofC#constantsforefficiencyandmaint
5、ainability,seeitem2●Useimmutabledatatypestoeliminateunnecessaryerrorchecking,seeitem7●AvoidtheC#functionthat'llpracticallyalwaysgetyouintrouble,seeitem10●Minimizegarbagecollection,boxing,andunboxing,seeitems16and17●Takefulladvantageofinterfacesanddelegates,seeitems19though22●Creat
6、eCLScompliantassembliesthatusenoncompliantC#languagefeatures,seeitem30file:///C
7、/Documents%20and%20Settings/Manuj/Desktop/eff/Effective%20C%23%20...faribooksonline_com/x=1&mode=section&sortkey=title&sortorder=asc&view=.html(1of2)7/27/20059:06:33PMSafariTechBooksOnline-EffectiveC#:
8、50SpecificWaystoImproveYourC#●Improvereliabilityandmaintainabilitybycreatingsmall,cohesiveassemblies,seeitem32●Leveragethefullpowerof.NET'sruntimediagnostics,seeitem36●Knowwhen—andwhennot—tousereflection,seeitems42and43●PreviewthemajorenhancementsinC#2.0,seeitem49●You'realreadyasu
9、ccessfulC#programmer—thisbookcanh