资源描述:
《c#语言参考手册-英文版》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、C#LanguageReferenceOwners:AndersHejlsbergandScottWiltamuthFile:C#LanguageReference.docLastsaved:6/27/2000Lastprinted:7/9/2021Version0.17bCopyrightMicrosoftCorporation1999-2000.AllRightsReserved.NoticeThisdocumentationisanearlyreleaseofthefinaldocumentation,whichm
2、aybechangedsubstantiallypriortofinalcommercialrelease,andisinformationofMicrosoftCorporation.ThisdocumentisprovidedforinformationalpurposesonlyandMicrosoftmakesnowarranties,eitherexpressorimplied,inthisdocument.Informationinthisdocumentissubjecttochangewithoutnot
3、ice.Theentireriskoftheuseortheresultsoftheuseofthisdocumentremainswiththeuser.Complyingwithallapplicablecopyrightlawsistheresponsibilityoftheuser.Withoutlimitingtherightsundercopyright,nopartofthisdocumentmaybereproduced,storedinorintroducedintoaretrievalsystem,o
4、rtransmittedinanyformorbyanymeans(electronic,mechanical,photocopying,recording,orotherwise),orforanypurpose,withouttheexpresswrittenpermissionofMicrosoftCorporation.Microsoftmayhavepatents,patentapplications,trademarks,copyrights,orotherintellectualpropertyrights
5、coveringsubjectmatterinthisdocument.ExceptasexpresslyprovidedinanywrittenlicenseagreementfromMicrosoft,thefurnishingofthisdocumentdoesnotgiveyouanylicensetothesepatents,trademarks,copyrights,orotherintellectualproperty.Unpublishedwork.©1999-2000MicrosoftCorporati
6、on.Allrightsreserved.Microsoft,Windows,VisualBasic,andVisualC++areeitherregisteredtrademarksortrademarksofMicrosoftCorporationintheU.S.A.and/orothercountries.Otherproductandcompanynamesmentionedhereinmaybethetrademarksoftheirrespectiveowners.CopyrightMicrosoftCor
7、poration1999-2000.AllRightsReserved.TableofContentsTableofContents1.Introduction11.1Hello,world11.2Automaticmemorymanagement21.3Types41.4Predefinedtypes51.5Arraytypes71.6Typesystemunification91.7Statements101.7.1Statementlistsandblocks101.7.2Labeledstatementsandg
8、otostatements101.7.3Localdeclarationsofconstantsandvariables111.7.4Expressionstatements111.7.5Theifstatement111.7.6Theswitchstatement121.7.7Thewhilestatement12