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#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -