<see> tag: how to access a constructor?

  • Thread starter Thread starter Dario
  • Start date Start date
D

Dario

What I have to write in the <see> tag
in order to access the constructor of a class?

E.g.: to access the constructor of a class MyClass
I try <see cref="MyClass.MyClass"/>
but it does not work.

I try also <see cref="MyClass.#ctor"/> but it fails also.

What I have to write?

Thanks.

- Dario
 
Noe, you just need to disambiguate between the class and the method that
share a name by adding parenthesis:

<see cref="MyClass()">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top