Description of methods

0

How do I do in the visual studio so that I can see the description of a method I created?

an example as well as this image:

    
asked by jose sepulveda 08.09.2018 в 08:34
source

1 answer

0

You have to document the method in c # and it has its syntax, it's in xml. You must add some comments before the method to recognize it, as if it were a javadoc. Here is an example:

    /// <summary>
    /// Descripción
    /// </summary>
    /// <param name="param1">Algún parámetro</param>
    /// <returns>Aquí pones lo que retorna el método</returns>

However, Visual Studio has a tool that allows you to generate documentation for your methods in c #.

    
answered by 08.09.2018 в 13:29