Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8011587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:03:46+00:00 2026-06-04T19:03:46+00:00

E.g. Foo.cs: using System; /// <summary> /// This file contains Foo and Bar-related things.

  • 0

E.g.

Foo.cs:

using System;

/// <summary>
/// This file contains Foo and Bar-related things.
/// </summary>

namespace Xyz {


class FooThing {
}

}

Does C# support such XMLDoc comments?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T19:03:48+00:00Added an answer on June 4, 2026 at 7:03 pm

    No, XML document comments can only appear on specific types of elements, as described in this article:

    In source code files, documentation comments that precede the following can be processed and added to the XML file:

    Such user-defined types as a class, delegate, or interface

    Such members as a field, event, property, or method

    If you place a file-level XMLDoc-style comment in your file, it will be appended to the next class or other element that happens to appear. Certain documentation tools, like Sandcastle, provide a way to add namespace-level XMLDoc comments but they generally appear in a separate file.

    Of course, you can use non XMLDoc-style comments in each file, e.g. a copyright header or similar, by just using standard /* */ style comment blocks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given this Global.asax.cs: using System; using System.Web; namespace Foo.Web { public class Global :
I'm using android.util.Log class Foo { private void boo() { // This is the
I'm using MVC3 and I have a model like this: public class Foo {
I'm generating (using System.Reflection.Emit) two types: call them foo, bar. The catch is, foo
Given the following program: using System; using System.Collections.Generic; namespace ConsoleApplication49 { using FooSpace; class
Given the following code snippet: using System; using Foo = System.Int32; namespace ConsoleApplication3 {
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { var
Given these classes: using System.Collections.Generic; namespace FluentMappingsQuestion { public class Entity { public virtual
This code outputs True . using System; using System.Collections.Generic; public class Default { public
Given the following code: using System; namespace Sandbox { class CommandLine { static void

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.