Add() public static method

public static Add ( ) : double
return double
コード例 #1
0
 public double Arithmetic(double F)
 {
     return MyUniverse.Add() - MyWorld.Subtract(F); // will trivially equal F
 }
コード例 #2
0
 public static double Subtract(double D)
 {
     E = D - MyUniverse.Add(); // Note how I specify the class name before the method:  this works only for static methods
     return E;
 }