sweet that was what I was thinking.<br>Thanks for that.<br><br><br><br><div class="gmail_quote">On Jan 22, 2008 11:19 AM, John Messerly &lt;<a href="mailto:jomes@microsoft.com">jomes@microsoft.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ivan Porto Carrero:<br><div><div></div><div class="Wj3C7c"><br>&gt; What are the plans regarding Linq support for IronRuby. In the<br>&gt; presentations I&#39;ve seen you were using vbx to perform linq stuff in<br>&gt; Silverlight. Is that only applicable to the from .. where ... select
<br>&gt; syntax and we can still use the extension method syntax<br>&gt; collection.where ?<br><br></div></div>Yup, you&#39;ll be able to use Linq methods using the normal method call syntax. There won&#39;t be special syntax.
<br><br>Translating this example: <a href="http://msdn2.microsoft.com/en-us/library/bb397947.aspx" target="_blank">http://msdn2.microsoft.com/en-us/library/bb397947.aspx</a>, it will look something like this:<br><br>require &#39;
System.Core&#39;<br>numbers = [5, 10, 8, 3, 6, 12]<br>numbers.where { |num| num % 2 == 0 }.order_by { |n| n }.each { |i| write(&quot;#{i} &quot;) }<br><br>- John<br><br>_______________________________________________<br>Ironruby-core mailing list
<br><a href="mailto:Ironruby-core@rubyforge.org">Ironruby-core@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/ironruby-core" target="_blank">http://rubyforge.org/mailman/listinfo/ironruby-core</a><br>
</blockquote></div><br>