13.07.2015 Views

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>C#</strong> LANGUAGE SPECIFICATION/// This constructor initializes the new Point to/// (,)./// xor is the new Point's x-coordinate./// yor is the new Point's y-coordinate.public Point(int xor, int yor) {X = xor;Y = yor;}E.2.9 This tag allows the security accessibility of a member to be documented.Syntax:descriptionwherecref="member"The name of a member. The documentation generator checks that the given code element exists andtranslates member to the canonical element name in the documentation file.descriptionA description of the access to the member.Example:/// Everyone can/// access this method.public static void Test() {// …}E.2.10 This tag is used to specify overview information about a type. (Use (§E.2.14) to describe themembers of a type.)Syntax:descriptionwheredescriptionThe text of the remarks.Example:/// Class Point models a point in a two-dimensionalplane.public class Point{// …}E.2.11 This tag is used to describe the return value of a method.Syntax:descriptionwheredescriptionA description of the return value.438

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!