1
I’m creating an application where in the classes I have a series of Overload's to optimise its performance and flexibility. Ex:
public class Calc
{
// método original com sumário
/// <summary>
/// soma "a" com "b"
/// </summary>
/// <returns></returns>
public int soma(int a, int b) => a + b;
// métodos complementares de conversão (overload) sem comentários
public int soma(string a, int b) => soma(int.Parse(a), b);
public int soma(string a, string b) => soma(int.Parse(a), int.Parse(b));
}
Is there any way, when I call one of the complementary methods, it show me the doc of the original method?
Why the doc of the original method, if they are different methods?
– Marcelo Shiniti Uchimura
because for me they are not different methods, I may even have different input but by the business rule the result is the same
– LeandroLuk
And who would you be?
– Marcelo Shiniti Uchimura
Uai the Kra who created the question
– LeandroLuk