public double Wrap(calculate_all del, double y, string user_name) { double temp; Console.WriteLine("Wrap\n{"); temp = del.Invoke(y, user_name); Console.WriteLine("}"); return(temp); }
public Tree_calculator(double x, string user_name) { Console.WriteLine("Created with {0} by {1}", x, user_name); creator = user_name; this.x = x; foo = Addition; foo += Division; foo += Subtraction; foo += Multiplication; }