Question: Against which of the following classes can you write a LINQ query? (Choose all that apply).
A
B
C
D
DataSet
B
List<T>
C
Array
D
Dictionary<TKey, TValue)
Note: Not available
Dim hsQ = From hspt In hospitals Order By hspt.County, hspt.City Group hspt By hspt.County Into hsptGroup = GroupC# Code
var hsQ = from hspt in hospitals orderby hspt.County, hspt.City group hspt by hspt.County;
Dim hsQ = From hspt In hospitals Order By hspt.County Group hspt By hspt.County Into hsptGroup = Group Order By hsptGroup.Last.CityC# Code
var hsQ = from hspt in hospitals orderby hspt.County group hspt by hspt.County into hsptGroup orderby hsptGroup.Last().City select hsptGroup;
Dim hsQ = From hspt In hospitals Order By hspt.County, hspt.City Group hspt By hspt.County Into hsptGroup = Group Order By hsptGroup.First.CountyC# Code
var hsQ = from hspt in hospitals orderby hspt.County group hspt by hspt.County into hsptGroup orderby hsptGroup.Key select hsptGroup;
Dim hsQ = From hspt In hospitals Order By hspt.City Group hspt By hspt.County Into hsptGroup = Group Order By hsptGroup.First.CountyC# Code
var hsQ = from hspt in hospitals orderby hspt.City group hspt by hspt.County into hsptGroup orderby hsptGroup.First().County select hsptGroup;