使用参见cref< > XML文档中的字符?

时间:2011-01-28 12:13:32

标签: c# .net xml-comments xml-documentation

  

可能重复:
  How to reference generic classes and methods in xml documentation

我一直在使用see cref标签,它工作得很好,但现在我需要在see cref中包含一个字符串[]的通用列表,但是文档没有正确呈现。

    /// <returns>A <see cref="List<string[]>" /> that .......

我认为它与&lt;和&gt;也许[]

这是否允许,是否有解决方法?

1 个答案:

答案 0 :(得分:18)

/// <returns>A <see cref="List{T}" /> that</returns>