Problem For a small personal project, I am looking to convert an object to an ordered by SemVer Markdown list. […]
Tag: linq
How to make this code follow Solid Principle C# [closed]
Problem Closed. This question is off-topic. It is not currently accepting answers. Missing Review Context: Code Review requires concrete code […]
LINQ Group query – simplifying
Problem Is there a way of writing this correctly working query more efficiently? I’m asking only to learn LINQ better: […]
Refactor Linq grouping
Problem All of the class here share these same property Country, Total and Date. Total property are integer in some […]
Find a list of Windows Services by given criteria
Problem My goal is to implement a method, which finds a list of Windows Services that match given set of […]
XML to Windows.Forms.Keys List
Problem It took me a lot of poking around and unit testing to get the code to look like it […]
EF query for calculating monthly trends
Problem My application has a fairly important query that is used in a lot of places. Unfortunately it takes about […]
Better ways to build a linq specification for querying or is this the only way?
Problem The code pretty much explains what I am doing here. Just wondering if anyone can think of a better […]
Add item to an Array 2D using LINQ
Problem I’ve wrote a generic function to add an item to an Array 2D This is what I have: Private […]
Longest palindrome in a given string using LINQ
Problem Problem:I need to write an algorithm that will return length of longest possible palindrome from a given string. So […]