资源描述:
《c#语言参考手册-英文版》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、C#LanguageReferenceOwners:AndersHejlsbergandScottWiltamuthFile:C#LanguageReference.docLastsaved:6/27/2000Lastprinted:7/9/2021Version0.17bCopyrightMicrosoftCorporation1999-2000.AllRightsReserved.NoticeThisdocumentationisanearlyreleaseofthefinaldocumentation,whichmaybechangedsubstan
2、tiallypriortofinalcommercialrelease,andisinformationofMicrosoftCorporation.ThisdocumentisprovidedforinformationalpurposesonlyandMicrosoftmakesnowarranties,eitherexpressorimplied,inthisdocument.Informationinthisdocumentissubjecttochangewithoutnotice.Theentireriskoftheuseortheresult
3、softheuseofthisdocumentremainswiththeuser.Complyingwithallapplicablecopyrightlawsistheresponsibilityoftheuser.Withoutlimitingtherightsundercopyright,nopartofthisdocumentmaybereproduced,storedinorintroducedintoaretrievalsystem,ortransmittedinanyformorbyanymeans(electronic,mechanica
4、l,photocopying,recording,orotherwise),orforanypurpose,withouttheexpresswrittenpermissionofMicrosoftCorporation.Microsoftmayhavepatents,patentapplications,trademarks,copyrights,orotherintellectualpropertyrightscoveringsubjectmatterinthisdocument.Exceptasexpresslyprovidedinanywritte
5、nlicenseagreementfromMicrosoft,thefurnishingofthisdocumentdoesnotgiveyouanylicensetothesepatents,trademarks,copyrights,orotherintellectualproperty.Unpublishedwork.©1999-2000MicrosoftCorporation.Allrightsreserved.Microsoft,Windows,VisualBasic,andVisualC++areeitherregisteredtrademar
6、ksortrademarksofMicrosoftCorporationintheU.S.A.and/orothercountries.Otherproductandcompanynamesmentionedhereinmaybethetrademarksoftheirrespectiveowners.CopyrightMicrosoftCorporation1999-2000.AllRightsReserved.TableofContentsTableofContents1.Introduction11.1Hello,world11.2Automatic
7、memorymanagement21.3Types41.4Predefinedtypes51.5Arraytypes71.6Typesystemunification91.7Statements101.7.1Statementlistsandblocks101.7.2Labeledstatementsandgotostatements101.7.3Localdeclarationsofconstantsandvariables111.7.4Expressionstatements111.7.5Theifstatement111.7.6Theswitchst
8、atement121.7.7Thewhilestatement12