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 SPECIFICATIONpublic class DataBaseOperations{/// /// public static void ReadRecord(int flag) {if (flag == 1)throw new MasterFileFormatCorruptException();else if (flag == 2)throw new MasterFileLockedOpenException();// …}}E.2.5 This tag is used to create a list or table of items. It may contain a block to define the heading rowof either a table or definition list. (When defining a table, only an entry for term in the heading need besupplied.)Each item in the list is specified with an block. When creating a definition list, both term anddescription must be specified. However, for a table, bulleted list, or numbered list, only descriptio needbe specified.Syntax:termdescriptiontermdescription…termdescriptionwheretermThe term to define, whose definition is in description.descriptionEither an item in a bullet or numbered list, or the definition of a term.Example:public class MyClass{/// Here is an example of a bulleted list:/// /// /// Item 1./// /// /// Item 2./// /// /// public static void Main () {// …}}436

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

Saved successfully!

Ooh no, something went wrong!