vb.net til c# Linq 1
Nogle der kan oversætte denne til c#:Dim q2 = _
From _
state In m_Map.Regions _
Join _
county In counties _
On _
state.FipsCodes(0) Equals county.FipsCodes(0) _
Join _
pd In doc.<CountyPopulationFile>.<CountyPopulation> _
On _
CInt(pd.@CountyFipsCode) Equals county.FipsCodes(1) And _
CInt(pd.@StateFipsCode) Equals state.FipsCodes(0) _
Where _
CDate(pd.@Date).Year = 2006 _
From _
Polygon In county.Polygons _
Select _
Color = New SolidColorBrush(colorMapEntries.Interpolate(CDbl(pd.@Population))), _
Points = Polygon.Points