linq-to-objects
Is there a more efficient way to get this flat data into a dictionary?
I have the following code: public class Alert { public string Alias { get; set; } public int ServiceHours { get; set; }[详细]
2023-04-06 13:58 分类:问答How to get all elements out of multiple List<>?
In C#, I have the following types: List<List<mytype>> MyLists; List<mytype> MainList;[详细]
2023-04-06 02:26 分类:问答In what locations can a subquery be used?
In the following code I mark locations within a query where to my understanding a subquery 开发者_开发问答can be used:[详细]
2023-04-05 17:15 分类:问答linq query for selecting from one list based on another
public class Test { int i; string s; } List<Test> testList = new List<Test>(); //assume there are some values in it.[详细]
2023-04-05 05:43 分类:问答Using LINQ to find three or more matching records
First, I\'ll describe my table structure. I have table, with 2 columns (ID and Root). This table is converted to a List of Nodes where the simple node structure is:[详细]
2023-04-04 07:51 分类:问答Complex LINQ sorting with groups
I am trying to sort a list of items according to the following (simplified) rules: I\'ll each item has the following properties:[详细]
2023-04-04 05:36 分类:问答How can I use LINQ to project this parent and children object model into a flat, single object?
I\'m trying to flatten out a simple class that has a parent + child array, into a single class. From: public class Foo[详细]
2023-04-03 22:02 分类:问答Restrict part of the lambda expression by type
I want to do something like this: public string DoSomething(Expression<Func<int>> expression)[详细]
2023-04-03 05:17 分类:问答What is it that makes methods such as Select, Join, Where a Linq-to-Object's standard query operators and not...?
1) Internally, what is it 开发者_高级运维that makes methods such Select, Join, Where etc ( besides the fact that query expressions get translated by compiler into these method calls )a Linq-to-Object\[详细]
2023-04-03 02:12 分类:问答Linq Query Syntax and Complex Where Conditions
I want to use a Linq to Objects query to select certain members from a list based on fairly complex selection criteria (for simplification represented here as return true :-)[详细]
2023-04-02 03:24 分类:问答
加载中,请稍侯......