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 <<a href="mailto:jomes@microsoft.com">jomes@microsoft.com</a>> 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>> What are the plans regarding Linq support for IronRuby. In the<br>> presentations I've seen you were using vbx to perform linq stuff in<br>> Silverlight. Is that only applicable to the from .. where ... select
<br>> syntax and we can still use the extension method syntax<br>> collection.where ?<br><br></div></div>Yup, you'll be able to use Linq methods using the normal method call syntax. There won'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 '
System.Core'<br>numbers = [5, 10, 8, 3, 6, 12]<br>numbers.where { |num| num % 2 == 0 }.order_by { |n| n }.each { |i| write("#{i} ") }<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>