c# 열거자
![[C#] 열거자 (Enumerator)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FkUZt8%2FbtqDJe1ryrS%2FaUhjWchCcEZpNDKLZuLHl0%2Fimg.png)
[C#] 열거자 (Enumerator)
1. 문제 using System; using System.Collections.Generic; class Program { static void Main() { int[] arr = {1, 2, 3, 4, 5}; List c1 = new List(arr); for(int i=0; i < c1.Count; i++) { Console.WriteLine(c1[i]); } } } //----------------------------------------------------- using System; using System.Collections.Generic; class Program { static void Main() { int[] arr = {1, 2, 3, 4, 5}; LinkedList c1 = n..