Files
coffeescript/documentation/cs/array_comprehensions.cs
2009-12-21 11:41:45 -05:00

6 lines
147 B
C#

# Eat lunch.
lunch: food.eat() for food in ['toast', 'cheese', 'wine'].
# Zebra-stripe a table.
highlight(row) for row, i in table if i % 2 is 0.