<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FCSharp_Tutorial%2FLanguage_Basics%2FDocumentation_Comments</id>
		<title>Csharp/CSharp Tutorial/Language Basics/Documentation Comments - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FCSharp_Tutorial%2FLanguage_Basics%2FDocumentation_Comments"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/Language_Basics/Documentation_Comments&amp;action=history"/>
		<updated>2026-04-29T20:10:13Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/Language_Basics/Documentation_Comments&amp;diff=6518&amp;oldid=prev</id>
		<title> в 15:31, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/Language_Basics/Documentation_Comments&amp;diff=6518&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:53Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 15:31, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/Language_Basics/Documentation_Comments&amp;diff=6519&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/Language_Basics/Documentation_Comments&amp;diff=6519&amp;oldid=prev"/>
				<updated>2010-05-26T12:19:18Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Compiler Support Tags==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
namespace Payroll&lt;br /&gt;
{&lt;br /&gt;
    &lt;br /&gt;
    /// &amp;lt;summary&amp;gt; &lt;br /&gt;
    /// Document for Employee class&lt;br /&gt;
    /// See a cross reference &amp;lt;see cref=&amp;quot;String&amp;quot;&amp;gt;string&amp;lt;/see&amp;gt;&lt;br /&gt;
    /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
    public class Employee&lt;br /&gt;
    {&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// Comment for the constructor&lt;br /&gt;
        /// &amp;lt;paramref name=&amp;quot;name&amp;quot;&amp;gt;name2&amp;lt;/paramref&amp;gt; is a string.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        /// &amp;lt;param name=&amp;quot;id&amp;quot;&amp;gt;Employee id number&amp;lt;/param&amp;gt;&lt;br /&gt;
        /// &amp;lt;param name=&amp;quot;name&amp;quot;&amp;gt;Employee Name&amp;lt;/param&amp;gt;&lt;br /&gt;
        public Employee(int id, string name)&lt;br /&gt;
        {&lt;br /&gt;
            this.id = id;&lt;br /&gt;
            this.name = name;&lt;br /&gt;
        }&lt;br /&gt;
        &lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// Comments for another constructor&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        /// &amp;lt;remarks&amp;gt;&lt;br /&gt;
        /// &amp;lt;seealso cref=&amp;quot;Employee(int, string)&amp;quot;&amp;gt;Employee(int, string)&amp;lt;/seealso&amp;gt;&lt;br /&gt;
        /// &amp;lt;/remarks&amp;gt;&lt;br /&gt;
        public Employee()&lt;br /&gt;
        {&lt;br /&gt;
            id = -1;&lt;br /&gt;
            name = null;&lt;br /&gt;
        }&lt;br /&gt;
        int id;&lt;br /&gt;
        string name;&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Documentation Comments for A member variable==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
namespace DocumentationCommentsExample&lt;br /&gt;
{&lt;br /&gt;
    /// &amp;lt;summary&amp;gt;&lt;br /&gt;
    /// A documentation sample - the short description goes here&lt;br /&gt;
    /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
    /// &amp;lt;remarks&amp;gt;Where a longer description would go&amp;lt;/remarks&amp;gt;&lt;br /&gt;
    class ClassExample&lt;br /&gt;
    {&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// A member variable&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        private string m_str;&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Documentation Comments for a method with parameters==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
namespace DocumentationCommentsExample&lt;br /&gt;
{&lt;br /&gt;
    /// &amp;lt;summary&amp;gt;&lt;br /&gt;
    /// A documentation sample - the short description goes here&lt;br /&gt;
    /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
    /// &amp;lt;remarks&amp;gt;Where a longer description would go&amp;lt;/remarks&amp;gt;&lt;br /&gt;
    class ClassExample&lt;br /&gt;
    {&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// A member variable&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        private string m_str;&lt;br /&gt;
&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// A method example&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        /// &amp;lt;param name=&amp;quot;val&amp;quot;&amp;gt;a new value to be saved&amp;lt;/param&amp;gt;&lt;br /&gt;
        /// &amp;lt;returns&amp;gt;the length of the string&amp;lt;/returns&amp;gt;&lt;br /&gt;
        public int MethodExample( string val )&lt;br /&gt;
        {&lt;br /&gt;
            m_str = val;&lt;br /&gt;
            return val.Length;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Documentation Comments for A property==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
namespace DocumentationCommentsExample&lt;br /&gt;
{&lt;br /&gt;
    /// &amp;lt;summary&amp;gt;&lt;br /&gt;
    /// A documentation sample - the short description goes here&lt;br /&gt;
    /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
    /// &amp;lt;remarks&amp;gt;Where a longer description would go&amp;lt;/remarks&amp;gt;&lt;br /&gt;
    class ClassExample&lt;br /&gt;
    {&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// A member variable&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        private string m_str;&lt;br /&gt;
&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// A property example&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        /// &amp;lt;remarks&amp;gt;&lt;br /&gt;
        /// You would put a more in depth description inside remarks tags&lt;br /&gt;
        /// &amp;lt;/remarks&amp;gt;&lt;br /&gt;
        public string PropertyExample&lt;br /&gt;
        {&lt;br /&gt;
            get&lt;br /&gt;
            {&lt;br /&gt;
                return m_str;&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Documentation Comments for class==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
namespace DocumentationCommentsExample&lt;br /&gt;
{&lt;br /&gt;
    /// &amp;lt;summary&amp;gt;&lt;br /&gt;
    /// A documentation sample - the short description goes here&lt;br /&gt;
    /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
    /// &amp;lt;remarks&amp;gt;Where a longer description would go&amp;lt;/remarks&amp;gt;&lt;br /&gt;
    class ClassExample&lt;br /&gt;
    {&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Documentation Comments for Main function==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
namespace DocumentationCommentsExample&lt;br /&gt;
{&lt;br /&gt;
    /// &amp;lt;summary&amp;gt;&lt;br /&gt;
    /// A documentation sample - the short description goes here&lt;br /&gt;
    /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
    /// &amp;lt;remarks&amp;gt;Where a longer description would go&amp;lt;/remarks&amp;gt;&lt;br /&gt;
    class ClassExample&lt;br /&gt;
    {&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// The main method for the program&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        /// &amp;lt;param name=&amp;quot;args&amp;quot;&amp;gt;command line arguments&amp;lt;/param&amp;gt;&lt;br /&gt;
        static void Main(string[] args)&lt;br /&gt;
        {&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Recommended Code Comment XML Elements==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;Predefined XML Element            Meaning in Life&lt;br /&gt;
&amp;lt;c&amp;gt;                               code font&lt;br /&gt;
&amp;lt;code&amp;gt;                            Indicates multiple lines should be marked as code&lt;br /&gt;
&amp;lt;example&amp;gt;                         Mocks up a code example&lt;br /&gt;
&amp;lt;exception&amp;gt;                       Documents which exceptions a given class may throw&lt;br /&gt;
&amp;lt;list&amp;gt;                            Inserts a list or table into the documentation file&lt;br /&gt;
&amp;lt;param&amp;gt;                           Describes a given parameter&lt;br /&gt;
&amp;lt;paramref&amp;gt;                        Associates a given XML tag with a specific parameter&lt;br /&gt;
&amp;lt;permission&amp;gt;                      Documents the security constraints for a given member&lt;br /&gt;
&amp;lt;remarks&amp;gt;                         Builds a description for a given member&lt;br /&gt;
&amp;lt;returns&amp;gt;                         Documents the return value of the member&lt;br /&gt;
&amp;lt;see&amp;gt;                             Cross-references related items in the document&lt;br /&gt;
&amp;lt;seealso&amp;gt;                         Builds an &amp;quot;also see&amp;quot; section within a description&lt;br /&gt;
&amp;lt;summary&amp;gt;                         Documents the &amp;quot;executive summary&amp;quot; for a given member&lt;br /&gt;
&amp;lt;value&amp;gt;                           Documents a given property&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Documentation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;Tag                 Description&lt;br /&gt;
&amp;lt;c&amp;gt;                 Marks up text within a line as code, for example: &amp;lt;c&amp;gt;int i = 10;&amp;lt;/c&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;              Marks multiple lines as code.&lt;br /&gt;
&amp;lt;example&amp;gt;           Marks up a code example.&lt;br /&gt;
&amp;lt;exception&amp;gt;         Documents an exception class. (Syntax verified by the compiler.)&lt;br /&gt;
&amp;lt;include&amp;gt;           Includes comments from another documentation file. (Syntax verified by the compiler.)&lt;br /&gt;
&amp;lt;list&amp;gt;              Inserts a list into the documentation.&lt;br /&gt;
&amp;lt;param&amp;gt;             Marks up a method parameter. (Syntax verified by the compiler.)&lt;br /&gt;
&amp;lt;paramref&amp;gt;          Indicates that a word is a method parameter. (Syntax verified by the compiler.)&lt;br /&gt;
&amp;lt;permission&amp;gt;        Documents access to a member. (Syntax verified by the compiler.)&lt;br /&gt;
&amp;lt;remarks&amp;gt;           Adds a description for a member.&lt;br /&gt;
&amp;lt;returns&amp;gt;           Documents the return value for a method.&lt;br /&gt;
&amp;lt;see&amp;gt;               Provides a cross-reference to another parameter. (Syntax verified by the compiler.)&lt;br /&gt;
&amp;lt;seealso&amp;gt;           Provides a &amp;quot;see also&amp;quot; section in a description. (Syntax verified by the compiler.)&lt;br /&gt;
&amp;lt;summary&amp;gt;           Provides a short summary of a type or member.&lt;br /&gt;
&amp;lt;value&amp;gt;             Describes a property.&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>