Wednesday, 16 June 2010

Phyton's range method in C# (or .net)

I don't frequently write phyton, nor am an expert on it. But I had a crush on Phyton's 'range' function and was looking for a subtitute on C#, especially after all these new functional programming elements.

Apparently, there was one identical implementation: Enumerable.Range! It's come with C# 3.0.