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;
     }
 }
Example #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;
            }
        }