Concat all strings inside a List using LINQ
Is there any easy LINQ expression to concatenate my entire List<string> collection items to a single string with a delimiter character? What if … Read more
Is there any easy LINQ expression to concatenate my entire List<string> collection items to a single string with a delimiter character? What if … Read more
I would assume there’s a simple LINQ query to do this, I’m just not exactly sure how. Given this piece of code: class … Read more
in the System.Linq namespace, we can now extend our IEnumerable’s to have the Any() and Count() extension methods. I was told recently that … Read more
What is the prefered method for creating a byte array from an input stream? Here is my current solution with .NET 3.5. Stream … Read more
I’m trying to perform a LINQ query on a DataTable object and bizarrely I am finding that performing such queries on DataTables is … Read more
I am playing with LINQ to learn about it, but I can’t figure out how to use Distinct when I do not have … Read more