List<int> Values = GetPowers(2, 8); foreach (int i in Values) { Console.Write("{0} ", i); } public static List<int> GetPowers(int number, int exponent) { List<int> RetVal = new List<int>(); int counter = 0; int result = 1; while (counter++ < exponent) { result = result * number; RetVal.Add(result); } return RetVal; }The yield statement calls into the Power methid repeatedly. This seems rather confusing to me, as apposed to my code above that