Skip to content

Instantly share code, notes, and snippets.

@kayluhb
Created December 4, 2011 16:47
Show Gist options
  • Save kayluhb/1430645 to your computer and use it in GitHub Desktop.
Save kayluhb/1430645 to your computer and use it in GitHub Desktop.
c# egg nog
using Measurements;
var eggYolks = 12;
var lbsSugar = 1;
var cupsRum = 2;
var cupsBourbon = 2;
var quartsWhippingCream = 2;
var eggWhites = 12;
var nutmeg = Measurements.SPRINKLE;
int[] ingredients = { eggYolks, lbsSugar, cupsRum, cupsBourbon,
quartsWhippingCream, eggWhites };
var eggNog = new ArrayList();
eggNog.AddRange(ingredients);
eggNog.Add(nutmeg);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment