Lecture overview -- Keyboard shortcut: 'u'  Previous page: The XML Documentation Language for C# -- Keyboard shortcut: 'p'  Next page: Tool support: Doxygen -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 7 : 13
Object-oriented Programming in C#
Documentation of Object-oriented Programs
Tool support: The C# Compiler

The /doc: option of the C# compiler and the generated XML file.

  • The C# Compiler

    • Via use of the /doc: compiler option an XML file can be produced

    • The XML file is not useful for direct presentation

    • The XML format does not contain full type information

  • Transformation of XML documentation to HTML

    • Via use of an XSLT stylesheet - made by Anders Hejlsberg

    • A stylesheet is provided with the book C# to the Point

      • Primitive and obsolete!