LINQ join scoping?

This is not legal either way you slice it - you cannot declare a range variable "in the middle" of a join - internally the let clause gets translated to a Select() statement with an anonymous type - but you cannot use Select() either in the middle of the join, you have to move it after the join.

I see now, thank you. Others who would like to know more about, here's the link describing it: blogs.msdn. Com/b/stuartleeks/archive/2008/05/21/… – Loki Kriasus Jun 1 at 14:23.

Have a look at this question - I think it covers things: Can I use join with let in linq - c# Basically you can only use the let for the query, rather than for joins. The following does seem to work, but its not as nice: from a in new { new { Id = 1 }, new { Id = 2 } } join be in new { new { Id = 2 }, new { Id = 3 } } on a. Id equals b.Id select 1.

Question you mensioned covers different issue. And I don't have that array defined with let until runtime. But thanks anyway :) – Loki Kriasus Jun 1 at 14:05.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions