<typeparamref> (C# Programming Guide)
<typeparamref name="name"/>
Parameters
- name
-
The name of the type parameter. Enclose the name in double quotation marks (" ").
// 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]; } }
Examples, really?
Why is that that so many examples actually make no mention of what they are meant to be demonstrating use of ????
How exactly does this differ from just 'typeparam' ?
And MS would like me to actually PAY for MSDN access... LOL
How exactly does this differ from just 'typeparam' ?
And MS would like me to actually PAY for MSDN access... LOL
- 3/30/2012
- AGage
- 4/6/2012
- Thomas Lee