예제 #1
0
 System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
 {
     return(Dices.GetEnumerator());
 }
예제 #2
0
 /// <summary>
 /// Returns an enumerator that iterates through the <see cref="DicesCup"/>.
 /// </summary>
 /// <returns> A <see cref="DicesCup"/>.Enumerator for the <see cref="DicesCup"/>.</returns>
 public IEnumerator <Dice> GetEnumerator()
 {
     return(Dices.GetEnumerator());
 }