In C# 3.0, I\'m liking this style:
// Write the numbers 1 thru 7 foreach (int index in Enumerable.Range( 1, 7 )) { Console.WriteLine(index); }
You can actually do this in C# (by providing To and Do as extension methods on int and IEnumerable respectively):
To
Do
int
IEnumerable
1.To(7).Do(Console.WriteLine);
SmallTalk forever!