I'm trying to convert the following VB.NET code into C#:

```
stacks.AddRange(
    From bin In UpstreamBinNames 
    Where bin <> BinName(BeforeTrack) 
    Select binWall = ConfigGlobals.Bins(bin).Wall 
    From aStack In binWall.Stacks Select aStack)

```

I get the first part, but the last half becomes confusing. How can i rewrite this without LINQ?

Thanks.