public SpoonPool() { for (single = 0; single < 4; single++) { SingleSpoon.getInstance(); } }
public SingleSpoon release() { if (SingleSpoon.getInstance() == null) { Console.WriteLine("no more releases"); return(spoons[single--]); } else { Console.WriteLine("No More Spoons"); } return(spoons[single]); }