Enumerator as a parameter of a method (dotnet-snippets.de)
submitted by
jan223(230) 4 years, 6 months ago
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)
|category: C#
|Views: 2
tags:
C# another
Everyones tags:
Your Tags: