Equivalent C# Code for Freya.Demos.EnumerableClass

Back to source code.

// This code has been generated with Reflector
public class EnumerableClass : IEnumerable
{
    private readonly IEnumerable impl$2;

    public EnumerableClass()
    {
        this.impl$2 = new string[]
        {
            "Freya", "rules", "and",
            "coffee-oriented-languages", "suck!"
        };
    }

    public sealed override IEnumerator GetEnumerator()
    {
        return this.impl$2.GetEnumerator();
    }
}