I’ve just made another tiny addition to my extension method class / project, adding a small, but maybe useful method:
This is how to use it to consume an IEnumerable<T> multiple times:
It’s not a big deal, but maybe it’s helpful anyway. Btw, the source code is […]
There are a lot of cool features in the current C# version (and I’m sure that I will cover most of them in future postings), but one of the features I like most are Extension Methods.
If you’ve never heard about Extension Methods, let me cite the MSDN documentation on Extension Methods:
TagsArduino ATtiny blinking C# Code-Download Coding Converter email FEZ first steps GPIO Hardware ID12 James Java JSP jspinfo LCD LED Lights Linux microcontroller Netduino NETMF Network NewBase60 opensource Panda II PWM Python Raspberry Pi RFID RGB screen server shell slow motion Traffic Light video WS2812