How do I use Union in linq (vb.net)? -


i know how call union extension method, e.g.

dim r = productfirstchars.union(customerfirstchars) 

however do linq syntax, e.g.

from productfirstchars select ???? 

you can't - not linq operators supported in query expressions, , union 1 of isn't. (vb has language support more query operators c#, happens.) see the documentation list of supported query clauses.


Comments

Popular posts from this blog

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -