c# - Xamarin LINQ to Objects support -


is there linq support querying object collection (linq objects) in xamarin android or ios? seem it's linq sql or that? include queries in demo, it's querying table:

table<entity> 

and saw linq query querying xml, there native collection support, , how enable it?

thanks.

yes, monotouch/xamarin.ios support linq objects. believe need support add using system.linq.

for example, introduction monotouch.dialog:

via clever usage of linq , c#’s initialization syntax, linq can used create element hierarchy. example, following code creates screen string arrays , handles cell selection via anonymous function passed each stringelement:

var rootelement = new rootelement ("linq root element") { x in new string [] { "one", "two", "three" } select new section (x) { y in "hello:world".split (':') select (element) new stringelement (y, delegate { debug.writeline("cell tapped"); }) } }; 

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -