Where can you find the C# Language Specifications?

2019-01-18 22:46发布

Where can I find the specifications for the various C# languages?

(EDIT: it appears people voted down because you could 'google' this, however, my original intent was to put an answer with information not found on google. I've accepted the answer with the best google results, as they are relevant to people who haven't paid for VS)

5条回答
\"骚年 ilove
3楼-- · 2019-01-18 23:23

Microsoft's version (probably what you want)

The formal standardised versions (via ECMA, created just so they could say it was "standardised" by some external body. Even though ECMA "standards" are effectively "Insert cash, vend standard").

Further ECMA standards

查看更多
戒情不戒烟
5楼-- · 2019-01-18 23:28

If you have Visual Studio 2005 or 2008, they are already on your machine!

For 2005 (English):

.\Microsoft Visual Studio 8\VC#\Specifications\1033

For 2008 (English):

.\Microsoft Visual Studio 9.0\VC#\Specifications\1033

For 2010 (English):

.\Microsoft Visual Studio 10.0\VC#\Specifications\1033

For 2012 (English):

.\Microsoft Visual Studio 11.0\VC#\Specifications\1033
查看更多
别忘想泡老子
6楼-- · 2019-01-18 23:31

The C# language is an ISO standard and as such the specification can be had from the ISO website at: http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=42926

You can also acquire the specifications direct from Microsoft (.Doc Warning) http://download.microsoft.com/download/3/8/8/388e7205-bc10-4226-b2a8-75351c669b09/CSharp%20Language%20Specification.doc (.Doc Warning)

查看更多
登录 后发表回答