using System.Collections.Generic;using System.Linq;class B
{public objectFoo(object obj){return null;}}class C
{
B ctx =newB();public static voidMain(){foreach(var c in newC().Test()) {}}
IEnumerable<ushort>Test(){string[] s =new[] { "a", "b", "c" };var m = s.Select(l => ctx.Foo(l)).ToArray();yield break;}}