12

可能重复:
如何在 xml 文档中引用泛型类和方法

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

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

我认为它与 < 和 > 以及 [] 有关

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

4

1 回答 1

22
/// <returns>A <see cref="List{T}" /> that</returns>
于 2011-01-28T12:18:22.060 回答