Ejemplo n.º 1
0
 public QuickSortSnapShotsXML(IEnumerable<SortAlgorithmSnapShot> shots)
 {
     int i = 0;
     SnapShots = new QuickSortSnapShotXML[shots.Count()];
     foreach (SortAlgorithmSnapShot shot in shots)
     {
         SnapShots[i] = new QuickSortSnapShotXML(shot);
         i = i + 1;
     }
 }
Ejemplo n.º 2
0
        public QuickSortSnapShotsXML(IEnumerable <SortAlgorithmSnapShot> shots)
        {
            int i = 0;

            SnapShots = new QuickSortSnapShotXML[shots.Count()];
            foreach (SortAlgorithmSnapShot shot in shots)
            {
                SnapShots[i] = new QuickSortSnapShotXML(shot);
                i            = i + 1;
            }
        }