Created
December 4, 2011 16:47
-
-
Save kayluhb/1430645 to your computer and use it in GitHub Desktop.
c# egg nog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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