You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
632 B
24 lines
632 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Iterator
|
|
{
|
|
/*
|
|
* 카테고리: 행위 패턴
|
|
* 개요: 컬렉션 혹은 Aggregate 객체의 데이터를 순차적으로 액세스 하기 위해
|
|
* 별도의 Iterator 객체를 사용하여 컬렉션의 내부구조를 알 필요 없이
|
|
* Iterator 만으로 쉽게 순차적 액세스를 할 수 있게 함
|
|
*/
|
|
internal class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
Client.HowToTest();
|
|
|
|
Console.ReadKey();
|
|
}
|
|
}
|
|
}
|
|
|