1
Answer

Comments / documentation style - changing to Javadoc or PHPDoc like syntax

Ask a question
Baz Hughes

Baz Hughes

13y
2.2k
1
For no reason other than personal preference I like to comment my methods something like this:

/**
 * Causes work to be done
 *
 * @param string workRequest
 */
public void DoWork(string workRequest)
{
        // etc...
}

As opposed to the standard:

/// <summary>
///     Causes work to be done
/// <summary>
/// <param name="workRequest"></param>
public void DoWork(string workRequest)
{
        // etc...
}

Is there any "quick fix" to tune VS2010 into using the first style? So that code-hinting will still work?

Answers (1)