C# Language Specification

Switch View :
ScriptFree
Visual Studio 2010 - Visual C#
C# Language Specification

The C# Language Specification is the definitive source for C# syntax and usage. It contains detailed information about all aspects of the language and many points not covered in the Visual C# product documentation.

The C# Language Specification is available on line from the Microsoft Developer Network (MSDN).

In Visual Studio, the language specification is in the VC#\Specifications\1033\ directory under your Visual Studio 2010 installation directory.

If you do not have Microsoft Word installed on your computer, you can view, copy, and print the Word version of the specification by using the free Word Viewer.

See Also

Concepts

Other Resources

Community Content

shashikant2210
http://msdn.microsoft.com/en-us/library/ms228593.aspx is misleading ...

http://msdn.microsoft.com/en-us/library/ms228593.aspx is misleading.

The sentence "The C# Language Specification is available on line from the Microsoft Developer Network (MSDN)." imples that the "C# Language Specification" is actually online; but instead, one gets a link http://go.microsoft.com/fwlink/?LinkId=199552 which when clicked offers a download of a 2.87 MB HTML document ... that is not the same a being "online" imho.

While the HTML document is useful, it would also be nice to have it really online too.

The referring page http://msdn.microsoft.com/en-us/library/kx37x362.aspx is also, imho, misleading in the same way:

     C# Language Specification

         Links to the latest version of the C# Specifications in Microsoft Word format.

gerry (lowry)


Christian W_
Invalid C# Compiler or mistake in the specification?
According to the C# specification 4.0, within the rule 'relational_expression', after the is-operator, an arbitrary type follows. However, the VS2010 C# compiler complains about a nullable type at this position.
If I have not missed anything, either change the specification from 'type' to 'type_without_nullable_type' or resolve the problem with the compiler please.

And please answer me/us to this problem.

Thank you. Regards,
Christian W.