Exploring MoreLINQ Part 1 - Zipping
One of my favourite open source libraries is MoreLINQ. It simply extends LINQ with several additional extension methods.
It's basically filling in the missing parts of LINQ, although the chances are, most of the time you'll only need to reach for one or two MoreLINQ extension methods.
Starting today, I'm beginning a series introducing some of the capabilities of MoreLINQ. I've created a simple video walkthrough of using each method using the awesome LINQPad as my development environment.
Today we're looking at EquiZip
, ZipLongest
and ZipShortest
, which allow finer control of behaviour than the regular LINQ Zip
over what should happen when zipping sequences that may be of different lengths.
I've got at least 16 videos in this series, so if you check back here over the next few weeks you should see a lot more.