C Sharp/注释方法

C#允许三种写注释的方法:

单行注释
//开始直至行末
多行注释
/*开始直至*/结束。
// This style of a comment is restricted to one line.
/* 
   This is another style of a comment.
   It allows multiple lines.
*/
XML文档-行注释
用于生成XML文档。细分为///开始的单行风格,以及/***/之间的多行风格.
/// <summary> documentation here </summary>
/// <remarks>
///     This uses single-line style XML Documentation comments.
/// </remarks>


/** 
 * <summary> documentation here </summary>
 * <remarks>
 *     This uses multiple-line style XML Documentation comments.
 * </remarks>
 */