Special Comment

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • #Hai

    Special Comment

    Hi,
    I noticed that there are some special piece of comments in the source-code
    generated by Visual Studio.NET when we create a new C# projects.
    These comments comes with tags like

    /// <summary>
    /// Clean up any resources being used.
    /// </summary>

    What is the purpose of tags <summary> ?
    How to use these tag ?


  • Jon Skeet

    #2
    Re: Special Comment

    [Again, this has nothing to do with most of the groups on the list...
    Follow-ups set to the C# group only]
    [color=blue]
    > #Hai <LHHai@SoftHome .net> wrote:
    > Hi,
    > I noticed that there are some special piece of comments in the source-code
    > generated by Visual Studio.NET when we create a new C# projects.
    > These comments comes with tags like
    >
    > /// <summary>
    > /// Clean up any resources being used.
    > /// </summary>
    >
    > What is the purpose of tags <summary> ?
    > How to use these tag ?[/color]

    They're for XML documentation. Look up "XML documentation" in the index
    of MSDN for lots of information about the topic.

    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    • Herfried K. Wagner

      #3
      Re: Special Comment

      Hello,

      " #Hai" <LHHai@SoftHome .net> schrieb:[color=blue]
      > I noticed that there are some special piece of comments in the[/color]
      source-code[color=blue]
      > generated by Visual Studio.NET when we create a new C# projects.
      > These comments comes with tags like
      >
      > /// <summary>
      > /// Clean up any resources being used.
      > /// </summary>
      >
      > What is the purpose of tags <summary> ?
      > How to use these tag ?[/color]

      Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.


      Regards,
      Herfried K. Wagner
      --
      MVP ยท VB Classic, VB .NET
      Die Website von H. Wagner zu .NET, Visual Basic .NET und Classic Visual Basic.



      Comment

      Working...