ArrayList wicList

ArrayList wicList = new ArrayList();
do
{
/// 중간 생략
               WeatherIndex calc = WeatherIndexFactory.GetInstance(value);
                wicList.Add(calc);
/// 중간 생략
} while (Console.ReadKey().Key != ConsoleKey.Escape);

foreach (WeatherIndex wic in wicList)
{
/// 중간 생략
}

Leave a Reply

Your email address will not be published. Required fields are marked *