欢迎来到天天文库
浏览记录
ID:22512751
大小:106.50 KB
页数:11页
时间:2018-10-29
《英文翻译.net体系结构》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、英文原文.NETARCHITECTUREThroughoutthisbook,weemphasizethattheC#languagemustbeconsideredinparallelwiththe.NETFramework,ratherthanviewedinisolation.TheC#compilerspecificallytargets.NET,whichmeansthatallcodewritteninC#willalwaysrunwithinthe.NETFramework.Thishast
2、woimportantconsequencesfortheC#language:(1)ThearchitectureandmethodologiesofC#reflecttheunderlyingmethodologiesof.NET.(2)Inmanycases,specificlanguagefeaturesofC#actuallydependonfeaturesof.NET,orofthe.NETbaseclasses.Becauseofthisdependence,itisimportanttog
3、ainsomeunderstandingofthearchitectureandmethodologyof.NETbeforeyoubeginC#programming.Thatisthepurposeofthischapter.Thefollowingisanoutlineofwhatthischaptercovers:(1)Thischapterbeginsbyexplainingwhathappenswhenallcode(includingC#)thattargets.NETiscompileda
4、ndrun.(2)Onceyouhavethisbroadoverview,youtakeamoredetailedlookattheMicrosoftIntermediateLanguage(MSILorsimplyIL);theassemblylanguagethatallcompiledcodeendsupinon.NET.Inparticular,youseehowIL,inpartnershipwiththeCommonTypeSystem(CTS)andCommonLanguageSpecif
5、ication(CLS),workstogiveyouinteroperabilitybetweenlanguagesthattarget.NET.Thischapteralsodiscusseswherecommonlanguages(includingVisualBasicandC++)fitinto.NET.(3)Next,youmoveontoexaminesomeoftheotherfeaturesof.NET,includingassemblies,namespaces,andthe.NETb
6、aseclasses.(4)ThechapterfinisheswithabrieflookatthekindsofapplicationsyoucancreateasaC#developer.TheRelationshipofC#to.NETC#isarelativelynewprogramminglanguageandissignificantintworespects:(1)ItisspecificallydesignedandtargetedforusewithMicrosoft’s.NETFra
7、mework(afeature-richplatformforthedevelopment,deployment,andexecutionofdistributedapplications).(2)Itisalanguagebasedonthemodernobject-orienteddesignmethodology,and,whendesigningit,Microsoftlearnedfromtheexperienceofalltheothersimilarlanguagesthathavebeen
8、aroundsinceobject•orientedprinciplescametoprominencesome20yearsago.OneimportantthingtomakeclearisthatC#isalanguageinitsownright.Althoughitisdesignedtogeneratecodethattargetsthe.NETenvironment,itisnotitselfpartof.NET
此文档下载收益归作者所有