Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Clase matemática estática para ejemplo de test unitario sobre método privado estático
public static class Matematica
{
private static int SumaNumeros(int x, int y)
{
int acumulador = 0;
for (int i = x; i <= y; i++)
{
acumulador += i;
}
return acumulador;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment