<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="C Sharp 3.0 - Page 3 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=C_Sharp_3.0&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=C_Sharp_3.0&amp;p=4">3.Next</a>
</p>
<p>integrated with other C# language facilities. The syntax is different from, but borrows from <a href="page.php?w=SQL">SQL</a>. An example:</p>

<p><syntaxhighlight lang="csharp">int[] array = { 1, 5, 2, 10, 7 };</syntaxhighlight></p>

<p>// Select squares of all odd numbers in the array sorted in descending orderIEnumerable<int> query = from x in array                         where x % 2 == 1                         orderby x descending                         select x * x;// Result: 49, 25, 1</int></p>

<p>To implement LINQ, a large range of</p><p>
<a accesskey="1" href="page.php?w=C_Sharp_3.0&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=C_Sharp_3.0&amp;p=4">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
