C# compiler uses Duck-Typing, not IEnumerable, for foreach loops(blogs.msdn.com)
submitted by
dpeterson(4397) 8 months, 16 days ago
Turns out that according to this post, and the C# 1.0 specification, that foreach loops in C# do not use IEnumerable (as found in the documentation) but rather duck-typing. Not necessarily consequential to our every day programming lives, but interesting nonetheless.
|category: C#
|Views: 70
tags:
C# another
Everyones tags:
Your Tags: