Question: When writing a query using C# LINQ syntax, is there a way to use the Queryable.SelectMany method from the keyword syntax?

For 

```
string[] text = { "Albert was here", 
                  "Burke slept late", 
                  "Connor is happy" };

```

Using fluent methods I could query

```
var tokens = text.SelectMany(s => s.Split(' '));

```

Is there a query syntax akin to

```
var tokens = from x in text selectmany s.Split(' ')

```

Answer: 
You can use a [Compound from Clause](http://msdn.microsoft.com/en-us/library/bb383978.aspx):

```
var tokens = from s in text
             from x in s.Split(' ')
             select x;

```
Your query would be re-written as:

```
var tokens = from x in text
             from z in x.Split(' ')
             select z;

```

Here's a good page that has a couple of side-by-side examples of Lambda and Query syntax:

[Select Many Operator Part 1 - Zeeshan Hirani](http://weblogs.asp.net/zeeshanhirani/archive/2008/03/26/select-many-operator-part-1.aspx)