Advertisement
mcgrab

DummyCalculator

May 21st, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.66 KB | None | 0 0
  1. using System;
  2.  
  3. namespace DummyCalculator
  4. {
  5.     public static class SimpleCalculator
  6.     {
  7.         public static double Sum(double a, double b)
  8.         {
  9.             return a + b;
  10.         }
  11.  
  12.         public static double Subtraction(double a, double b)
  13.         {
  14.             return a - b;
  15.         }
  16.  
  17.         public static double Multiplication(double a, double b)
  18.         {
  19.             return a * b;
  20.         }
  21.  
  22.         public static double Division(double a, double b)
  23.         {
  24.             return a / b;
  25.         }
  26.  
  27.         private static void Test()
  28.         {
  29.  
  30.         }
  31.  
  32.         public static void TestPublic()
  33.         {
  34.  
  35.         }
  36.     }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement