????????????.NET?????????????.net??????????????????.net?????????????????д???????????????????лл??
????????????????????.net??????????????дд??????????????????±????е????????????????о?????????????
????????????????.NET?????????????????????????л????????????????????????????????.NET????????????????????????????Web??ó????Web???????Internet??????ó?????????????Web??????й???????ν???????.NET?????????????????????????????????????CLR??Common Language Runtime???????????Services Framework??????????????????——?????Windows??ó?????壨Win Forms???????ASP NET??????Web????????ó?????壨Web Forms??Web Services????
???????????CTS??CLS??CLR
??????1??CTS??Common Type System??????????????????????????????????????????????????????????????????????в????????COM???????????????????????????????????????????????????????.NET???????????????????????????????CTS?????????????????????????????????????
??????2??CLS??Common Language Specification???????????淶?????????????????????????????????????????????????
??????3??CLR??Common Language Runtime?????????????п?????????ó??????????????????????????.net??ó??????к?????????????
?????ο?????????????

????????CTS??CLS??CLR??????
??????1??CTS
????CTS???????????????.NET Framework???п????????????????????????????.NET Framework???п???????????????????????????
???????????????????????????????????????????????е???????????????????????????????????????????????????????????????????????ò???????д???????????????????á?
???????幫?????????п???????????ú??????????????????????????????????????????????????????????ɡ???????????????????г????????????????????????????????????
????????????????????????????????????????????????
??????2??CLS
????CLS??????????淶???????????ó??????????????????????CLS????????????????????????????????????????????????????????CLS??????CLS?ж?????????????CLS????????????????????????????????ж??????????????????????????????CLS????????CLS????????????????????й??????????CLS?????????????????й??????????????CLS??????????????????
??????3??CLR
????CLR?????????????п???.NET Framework?????????????俴???????????????????????????????????????????????????????????????????????????????????????????????????????????????
????????.NET??3C??CTS??CLS??CLR
????.NET???Java??COM?????????????????????????????????????COM?????????????????.NET?????????????????????Common Type System(CTS)????????????????????????????COM???????????????????????????????????????????????????????????κ???.NET????????????????????????????????CTS???????????????.NET????????????????????????????????????????÷?????????????????????????磬????????VB.NET???????????C#??д????
???????????????????????????????????????磬?Щ??????????????Щ??????????????????????Щ??????????????????????????????????.NET??????幫??????淶(CLS??Common Language Specification)????????????Щ????????????????????CLS??????????.NET?????????????????????С?????????????????????.NET????????????????????????????????????????????????????????????????????????????????????????磬CLS?????????????????????????????У???????????????????С?
????CLS??CTS??????????????ζ????????????????????CTS????????????CLS????????磺C#????????????????????????????CTS????????CLS???????????????????????????????????????????C#??????????????????????????????????????(??VB.NET)????.NET??????????????????????“?????”????????“??????”??????????????????????non-CLS-compliant??????????????CLS??????????????????????Щ??????????????????????е??????????????????????????????????????????????????????????????.NET???????????????????????CLS??淶????????棬?????????.NET?????????????????????????е????????????????CLS?淶??
?????????C????????????п?Common Language Runtime(CLR)?????????CLR??CTS????????????CLR????ó?????????????????????????????????CTS?淶?????????????????棬CLR????????????????????????????????????????????????????顣??CLR?????????е????????й????(managed code)????????CLR????????????????????????Щ??????????н???????????????I/O??????????????????????——???????????Windows API?????????????????????ɡ?
?????????????????“3C”????????????????????????ó?????????????????????????CLR?????????????????????CLR?????????CTS??CLS?????????????.NET???????????????????????????????????CTS??CLS????????????????????????????????.NET?????????幫???????????????????????????
??????????CTS??CLS??CTS.????????????????????.NET??????????????
?????????????????.NET????????????
????????????????:
??????1??.NET????????
???????????????????.NET???????????????????????Visual Studio???????.NET????????????????Visual Studio IDE??????????Ω??????????????????????????κ?????????????д.NET??????????????????????????????????????????????????????????????г??????????????????????д.NET????
??????2??.NET??????
????????.NET?????????????????.NET Framework????????Microsfot????????????????.NET Framework??????.NET?????????????????.NET Framework????????κ???????.NET????????????????????
?????????.NET?????????????????????????????Windows??????Linux??Unix??????????????.NET Framework???????????????Mono???.NET Framework?????????Mono?.NET Framework?????????????μ??????????????????????Mono????????????????
???????:
??????????????.NET??????譎?.NET Framework??????????????Visual Studio IDE????????????????????????д.NET???????????????????????????Visual Studio???????
??????????價(jià)???????????????????????.NET?????л???????