[c#] List<> 클래스

List<> 클래스는 다양한 제네릭 자료형을 다룰 수 있으며, 추가, 삭제, 정렬, 검색 등의 기능을 지원합니다. 다른 자료구조와 비교했을 때 List<> 클래스는 간편하고 유연하며, 데이터 항목을 쉽게 관리할 수 있는 풍부한 기능들을 제공합니다.

List<> 클래스는 현대적이고 강력한 언어인 C#에서 자주 사용되는 구조 중 하나이며, 자유도가 높고 다양한 용도로 활용될 수 있습니다.

using System;
using System.Collections.Generic;

class Program
{
    static void Main()
    {
        // Create a list of strings.
        List<string> colors = new List<string>();
        colors.Add("red");
        colors.Add("green");
        colors.Add("blue");

        // Iterate through the list.
        foreach (string color in colors)
        {
            Console.WriteLine(color);
        }
    }
}

자료구조에 대한 더 많은 정보는 Microsoft 공식 문서를 참고하십시오: [List Class (System.Collections.Generic)](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1)