아이템 29. 컬렉션을 반환하기보다 이터레이터를 반환하는 것이 낫다 이터레이터 메서드 - 호출자가 시퀀스를 만들어내기 위해 yield return 을 사용하는 것을 말한다. public static IEnumerable GenerateAlphabet() { var letter = 'a'; while(letter $"{target.LastName, 20}, {target.FirstName, 15}" } } // XmlExtensions.cs namespace XmlExtensions { public static class XmlReport { public static string Format(this Person target) => new XElement("Person", new XElement("Last..