Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PastaWorld
- {
- public void makeBolognese(Func makeThePasta, Func makeTheSauce)
- {
- Pasta pasta = makeThePasta()
- Sauce sauce = makeTheSauce()
- bolognese = new Bolognese(sauce, pasta);
- return bolognese;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement