语法
<summary>description</summary>
参数
- description
对象的摘要。
备注
示例
// compile with: /doc:DocFileName.xml /// text for class TestClass public class TestClass { /// <summary>DoWork is a method in the TestClass class. /// <para>Here's how you could make a second paragraph in a description. <see cref="System.Console.WriteLine(System.String)"/> for information about output statements.</para> /// <seealso cref="TestClass.Main"/> /// </summary> public static void DoWork(int Int1) { } /// text for Main static void Main() { } }
示例
请参阅
C# 编程指南
建议的文档注释标记(C# 编程指南)
©2016 C#技术手册 由 游戏蛮牛 提供