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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -