Use iterator to iterate List<T>