0
kicks
Enumerator as a parameter of a method
The use of custom enumerators is an elegant way to filter a list.
Sometimes a function has to be called on different filtered sets with some changes to the parameters.
This sniplet will offer you an elegant way of doing so.
It can for instance be used to write different tags in an XML file (implement the non-provided DoWriteTag method; or any other)