2 Apr 2004 TazForEver   » (Journeyer)

C# Enumerate

Hi.

I'm learning C# since wednesday. The foreach loop statement is pretty usefull but is missing a feature : you can't iterate trought a sequence and get (index, element). I wanted to make something like the Python 2.3 enumerate.

Enumerate.cs
HTMLized Enumerate.cs

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!