(C# - LINQ) Query Syntax to Method Syntax

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I would like to write this here:

<div style="color:Black;background-color:White; <pre>
<span style="color:Blue; var immoQuery = <span style="color:Blue; from anbieter <span style="color:Blue; in xElement.Elements()
<span style="color:Blue; where anbieter.Name.LocalName == <span style="color:#A31515; "anbieter"
<span style="color:Blue; select <span style="color:Blue; new
{
immobilien = <span style="color:Blue; from imo <span style="color:Blue; in anbieter.Elements()
<span style="color:Blue; where imo.Name.LocalName == <span style="color:#A31515; "immobilie"
<span style="color:Blue; select imo
};
[/code]
in Method Syntax. I hope you have a possible solution for me ;). thanks


View the full article
 
Back
Top