C# 简介毕业论文外文翻译文档格式.docx

上传人:b****1 文档编号:13105469 上传时间:2022-10-05 格式:DOCX 页数:9 大小:17.77KB
下载 相关 举报
C# 简介毕业论文外文翻译文档格式.docx_第1页
第1页 / 共9页
C# 简介毕业论文外文翻译文档格式.docx_第2页
第2页 / 共9页
C# 简介毕业论文外文翻译文档格式.docx_第3页
第3页 / 共9页
C# 简介毕业论文外文翻译文档格式.docx_第4页
第4页 / 共9页
C# 简介毕业论文外文翻译文档格式.docx_第5页
第5页 / 共9页
点击查看更多>>
下载资源
资源描述

C# 简介毕业论文外文翻译文档格式.docx

《C# 简介毕业论文外文翻译文档格式.docx》由会员分享,可在线阅读,更多相关《C# 简介毕业论文外文翻译文档格式.docx(9页珍藏版)》请在冰豆网上搜索。

C# 简介毕业论文外文翻译文档格式.docx

1.1.1 TheBirthofC#

Asarecentbirthintheprogramminglanguagefamily#hastwoprogramminglanguageparents++andJava#containsmanyC++featuresbutalsoaddstheobject-orientedfeaturesfromJava.

C#containsmanydifferentcomponents,including:

• Versioningsupport,sothatyourbaseandderivedclasses-templatesthatdefinehowanobjectperforms一remaincompatibleasyoudevelopthem

• Events,sothatyourprogramcannotifyclientsofaclassaboutsomethingthathashappenedtoanobject

• Typesafetyandverificationthatincreasesreliabilityandensurescodesecurity

• Garbagecollection,sothatyourprogramcanidentityobjectsthatyourprogramcannolongerreach

• Unsafemode,whereyoucanusepointerstomanipulatememoryoutsidethegarbagecollector'

scontrol,includingmethodsandproperties

1.1.2 CloseRelationswithCandC++

C#isbuiltontheC++language,soitbehavesmuchlikethelanguage.LikeC++,C#letsyouwriteenterpriseapplications,andC#containsmanyC++features,includingstatementsandoperators.C#alsoprovidesaccesstocommonApplicationProgramInterface(API)stylesincludingComponentObjectModel(COM)andC-styleAPIs.

1.1.3 Security

ComputernetworksletprogrammersshareVisualStudio.NETcodeincludingC#programsacrossthenetwork.ThiscollaborativeeffortletsyouandyourprogrammingteamcreateC#programsmuchmorequicklythanonepersonalone.TheproblemwithcollaboratingoveranetworkisthatunauthorizedusersfromwithinoroutsideyournetworkmaytrytogainaccesstoyourC#programcode.

VisualStudio.NETprovidesbuilt-insecurityfeaturessoyouortheleaderofyourprogrammingteamcandeterminewhoonyournetworkgetsaccesstoyourC#programcodeandresources.Youcanalsosetdifferentlevelsofsecurityfordifferentpeopleincaseyouwantonlycertainpeopletohaveaccesstocertainprogramcode.

1.1.4 Integration

TheprimaryadvantageofusingVisualStudio.NETisthatalloftheprogramminglanguageshavebeendesignedtoworktogetherfromthestart.WhenyouwriteanewC#program,VisualStudio.NETgivesyoutoolsthatyoucanusetoprogramlinksfromyourC#programintoanotherprogramwritteninanotherVisualStudio.NETlanguage.

Forexample,youcancreateadatabaseinVisualFoxProandthencreateaC#programthatlinksintotheVisualFoxProdatabase.IfyouhavewrittenoracquiredcompletedprogramsinaVisualStudiolanguagesuchasVisualC++orVisualBasic,youcanincludelinksfromyourC#programintothoseprograms.Theendresultisseamlessintegratedfunctionalitybetweenprograms.

1.1.5 DifferencesBetweenC#andC++

MicrosoftincludesVisualC++andC#inVisualStudio.NET.Onthesurface#hasfewdifferencesfromVisualC++.Whenyoulookcarefullyandstartprogramming,youwillnoticethatC#differsinseveralimportantrespectsfromVisualC++:

• C#hasanalternatemethodofaccessingtheC++initializationlistwhenconstructingthebaseclass.

• Aclasscaninheritimplementationfromonlyonebaseclass.

• Youcancalloverriddenbaseclassmembersfromderivedclasses.

• C#hasadifferentsyntaxfordeclaringC#arrays.

• Therearedifferencesinseveraldifferenttypesincludingbool,struct,anddelegate.

• TheMainmethodisdeclareddifferently.

• Supportofthenewrefandoutmethodparametersthatareusedinsteadofpointersforpassingparametersbyreference.

• Newstatementsincludingswitchandfinally.

• Newoperatorsincludingisandtypeof.

• Differentfunctionalityforsomeoperatorsandforoverloadingoperators.

1.1.6 DLLs

TheadventofWindowsbroughtdynamiclinklibraries(DLLs)toprogrammers.DLLsaresmall,independentprogramsthatcontainexecutableroutinesthatprogramscanusetoproduceacertainresultinWindows.Forexample,ifaprogramneedstoopenafile,youcanwriteyourC#programthatusesthecodeintheDLLtoopenthefile.UsingDLLsfreesupyourtimetoworkonyourprogramwithouthavingtoreprogramthesamecodeinyourC#programoverandoveragain.

YoucanaccessDLLsfromyourC#program,andcreateDLLsinC#foryourC#foryourC#programtorefertowhennecessary.C#hasfullCOM/Platformsupport,soyoucanintegrateC#codewithanyprogramminglanguagethatcanproduceCOMDLLssuchasVisualC++.

1.1.7 XML

ExtensibleMarkupLanguage(XML)isamorepowerfulversionofHyperTextMarkupLanguage(HTML),thestandardWebpagelanguage.VisualStudio.NETandC#letyoudocumentyourprogramusingXMLandthenextracttheXMLcodeintoaseparatefile.

VisualStudio.NETsupportsXMLsothatyoucanintegrateyourC#programswiththeWorldWideWeb.YoucandocumentyourC#codeusingXMLandthenuseXMLforcreatingWebServicesandWebcontrolsthatletyouandyourcodeinteractwithaWebsite.Forexample,youmayhaveaninventorysys

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 法律文书 > 辩护词

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1