All Questions
2 questions
0
votes
1
answer
88
views
Why does C# compiler allow use of a dynamic operation in expression tree if ToList or ToArray is called
Please note: I am aware that there are many related to the main error message discussed here but I could not find any post that discusses my question.
Therefore, please be kind to read to the end ...
5
votes
4
answers
2k
views
need help converting C# foreach loop to lambda
Can the following loop be implemented using IQueryable, IEnumerable or lambda expressions with linq
private bool functionName(int r, int c)
{
foreach (S s in sList)
{
if (s.L.R == r &...