Answer the question
In order to leave comments, you need to log in
Is there an analogue of javadoc in c#?
On java in intellij idea I write comments like
/**
* comments
*/
Answer the question
In order to leave comments, you need to log in
Yes. XML documentation can be used (<summary>, etc.), then IntelliSense will "pick up" the documentation, + there are utilities that can generate html from this documentation.
www.stack.nl/~dimitri/doxygen
Example:
/**
* @file
* @brief My cool file
* @ingroup CoolGroup
* @author Me
* @date 06.06.06
*/
/**
* @addtogroup CoolGroup My cool group
* @{
*/
/**
* @brief My cool class
*/
public class Foo
{
/**
* @brief My cool function
* @param[in] a first argument
* @param b second argument
* @return result of adding a to b
*/
public int bar(int a, int b)
{
return a + b;
}
}
/** @} */
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question