tags:

views:

485

answers:

1

How to set any file comment, author information from c#?

+3  A: 

New Answer

You may want to check out this Stack Overflow question, which details what you're trying to do (I think).

Olde Answer

Use XML Comments.

The list of tags doesn't explicitly include author, but you can add it.

Example:

    /// <summary>
    /// Example Summary of method
    /// </summary>
    /// <author>
    /// George Stocker
    /// </author>
    /// <date>
    /// 9/28/2009
    /// </date>
    static void Authorstuff()
    {
         //method stuff here  
    }
George Stocker
He's after setting comments on arbitrary files, I believe, not C# source code. No down-vote though, since the question wasn't immediately clear without looking at the tags.
Noldorin
Thanks. I'll vote to close since it's a duplicate then.
George Stocker