Question:You need to write a where clause in a LINQ query against a strongly typed DataSet of universities (from u in universities). The where clause should select all universities with more than 10,000 enrolled students. Which where clause would you write? 

A where u.Field("EnrolledStudents") > 10000 

B where u.EnrolledStudents > 10000 

C C#: where u[“EnrolledStudents”] > 10000Visual Basic: where u(“EnrolledStudents”) > 10000 

D where university.Fields.EnrolledStudents > 10000 

+ Answer
+ Report
Total Preview: 1100

Copyright © 2024. Powered by Intellect Software Ltd