Nach Ordnungsbegriffen durchsuchen

Alle Ordnungsbegriffe » C# 3.0 extension methods ruby syntax (RSS)

Fun with C# Extension Methods: Quick Loops von .Net Smoothie

In my last post, I demonstrated an extension method for easy creation of ranges, using the 1.To(x) syntax, similar to the Ruby [1..x] syntax. Today I’m writing another copy of a Ruby idea which lets you do a quick loop using a terse and easy-to...