C#/C# 문법 범범조조 2022. 1. 20. 19:20
참조 http://dotnetpattern.com/linq-selectmany-operator SelectMany 연산자란? SelectMany 연산자는 컬렉션 속성이 있는 일련의 객체가 았고 자식 컬렉션의 각 항목을 하나씩 열거해야 하는 경우에 사용하는 연산자입니다. 쉽게 말해, Collection 안에 다른 Collection이 저장되어 있고, 이 중에서 Sub Collection의 데이터를 가져올 때 SelectManay 연산자를 이용합니다. SelectMany 3가지 오버로드 내용 public static IEnumerable SelectMany(this IEnumerable source, Func selector); public static IEnumerable SelectMany(this IE..
더 읽기