using System; namespace foodstuff { // sample food visitors /////////// // an "eater" will eat until a certain number of calories is reached // returns total cals consumed. // eater won't eat any vegetables. public class eater : foodvisitor { private int max; private int cals = 0; public eater(int m) {max = m;} public object visit(fruit f) { Console.WriteLine("I'm eating the fruit "+f); cals += f.Calories; if (cals