Re: [Vala] Ducktyped foreach



Hi Philip,

On 13/09/2007, Philip Van Hoof <spam pvanhoof be> wrote:
In .NET you have Ducktyped foreach stuff. This means that you don't need
to implement IEnumerable to be usable with foreach statements:


/me wondering if this is not a C# hack because IEnumerable /
IEnumerator was not generics-enabled .. scary!

-- 
Michel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]