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

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -