Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created October 24, 2013 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/7130205 to your computer and use it in GitHub Desktop.
Save Fhernd/7130205 to your computer and use it in GitHub Desktop.
Clase estática Aritmetica con métodos estáticos para la creación de una librearía.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Matematica
{
public static class Aritmetica
{
public static double Adicion(double a, double b)
{
return a + b;
}
public static double Sustraccion(double a, double b)
{
return a - b;
}
public static double Producto(double a, double b)
{
return a * b;
}
public static double Cociente(double a, double b)
{
return a / b;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment