Don’t Repeat Yourself using LINQ & Delegates
In one of my projects, I had to look for certain objects using certain qualifiers: ID, Name, ID & Name, etc… Without optional parameters (Hello C# 4.0!), I ended up with copying & pasting whole blocks of code: initializing, filtering, returning the result, error handling, etc. I wondered if there was an easier solution to [...]
Filed under: Programming, Technology by Loki
View Comments