Return another Enumerable within a method returning Enumerable

suggest change
public IEnumerable<int> F1()
    for (int i = 0; i < 3; i++)
        yield return i;

    //return F2(); // Compile Error!!
    foreach (var element in F2())
        yield return element;

public int[] F2()
    return new[] { 3, 4, 5 };

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents