语法
<typeparam name="name">description</typeparam>
参数
- name
类型参数的名称。 将此名称用双引号括起来 (" ")。 - description
类型参数的说明。
备注
// compile with: /doc:DocFileName.xml /// comment for class public class TestClass { /// <summary> /// Creates a new array of arbitrary type <typeparamref name="T"/> /// </summary> /// <typeparam name="T">The element type of the array</typeparam> public static T[] mkArray<T>(int n) { return new T[n]; } }