If you do not include the information in the XML comments for the method, property, or field and in the correct format, Visual Studio will not display and display it. For the constructor, the syntax is:
/// <summary>
/// Create a person from a serial number
/// </summary>
/// <exception cref="ArgumentException">Thrown when serial number is outside valid range</exception>
/// <param name="serial"></param>
public Person(int serial)
{
if (serial == 0)
{
throw new ArgumentException("Serial number cannot be zero");
}
}
, Intellisense !
[] [/edit]