IT Nursery
There is a lot of talk about monads these days. I have read a few articles / blog posts, but I can’t go far enough with their examples to...
  • June 1, 2022
  • 0 Comments
I have quickly read over the Microsoft Lambda Expression documentation. This kind of example has helped me to understand better, though: delegate int del(int i); del myDelegate = x...
  • May 15, 2022
  • 0 Comments
I’m working on a little something and I am trying to figure out whether I can load an XDocument from a string. XDocument.Load() seems to take the string passed...
  • May 10, 2022
  • 0 Comments
This question already has answers here: Get List<> element position in c# using LINQ (10 answers) How to get the index of an element in an IEnumerable? (11 answers)...
  • May 7, 2022
  • 0 Comments
Using reflection, how can I get all types that implement an interface with C# 3.0/.NET 3.5 with the least code, and minimizing iterations? This is what I want to...
  • April 29, 2022
  • 0 Comments
Right, so I have an enumerable and wish to get distinct values from it. Using System.Linq, there’s, of course, an extension method called Distinct. In the simple case, it...
  • April 21, 2022
  • 0 Comments
I am working on a WPF, C# 3.0 project, and I get this error: Error 1 Metadata file 'WORK=- \Tools\VersionManagementSystem\BusinessLogicLayer\bin\Debug \BusinessLogicLayer.dll' could not be found C:\-=WORK=- \Tools \VersionManagementSystem\VersionManagementSystem\CSC VersionManagementSystem...
  • April 19, 2022
  • 0 Comments