reference to generic type in XML code comment [duplicate] reference to generic type in XML code comment [duplicate] xml xml

reference to generic type in XML code comment [duplicate]


Here's a citation of a no longer available, good article on documentation:

The compiler team decided to improvethis by allowing an alternate syntaxto refer to generic types and methodsin doc comments. Specifically,instead of using the open and closeangle-brackets it’s legal to use theopen and close curly braces. Theexample above would then become:

class Program{    /// <summary>    /// DoSomething takes a <see cref="List{T}"/>    /// </summary>    void DoSomething(List<int> al) { }}

So, in your case:

///<see cref="name.space.typename{T}(paramtype)"/>

Here are a couple of newer references from Microsoft:


Use curly brackets:

///<see cref="name.space.typename{T}(paramtype)">