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...
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question...
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...
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...
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)...
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...
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...
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...