Tag Archives: linq

How to call LINQ extension methods such as Where and ToDictionary using PowerShell

If you have IEnumerable<XElement> and want to call various LINQ extension methods such as Enumerable.Where() or ‚Äč‚ÄčEnumerable.ToDictionary() on it using PowerShell then first load the necessary assemblies: And here’s the code for Where(): and for ToDctionary():

Posted in Programming | Tagged , | Leave a comment

TDD kata by implementing LINQ

I just discovered that what I’m writing right now is a new TDD kata. Very interesting and useful TDD kata. Interesting because usual C# developer uses LINQ extension methods on every day basis and it is interesting to re-implement by … Continue reading

Posted in Programming | Tagged , | Leave a comment