public bool MoveNext() { currentIindex++; if (currentIindex < timeStampInfo.Count) { current = timeStampInfo.ElementAt(currentIindex); return(true); } else { return(false); } }
public TimeStampInfoIterator(TimeStampInfo timeStampInfo) { this.timeStampInfo = timeStampInfo; currentIindex = 0; current = timeStampInfo.ElementAt(0); }