Hello, how to recognize a comment in the C# source code? I want to retrieve all information from the comment.
public class TestClass
{
/// <summary>
/// Sample method
/// </summary>
/// <param name="a">1 argument</param>
/// <param name="b">2 argument</param>
/// <param name="c">3 argument</param>
/// <returns>true or false</returns>
/// <exception cref="NotImplementedException">Always throw exception</exception>
public bool Method(int a, object b, Panel c)
{
throw new NotImplementedException();
}
}
- Description of the method - "Sample method"
- Description of the parameters - "1 argument, ..."
- Description of the returned value - "true or false"
- Exception type and description
- Other user tags