多项选择题
有一个ArrayList 对象items,包含了若干下列Book 类型的对象,则下列查询表达式编写正确的有()
A.from Book b in items where b.Price>50
B.from Book b in items where b.Price>50select b
C.from b in items where b.Price>50select b.Price
D.from Book b in items where b.Price >50select new {b.Price }
点击查看答案
相关考题
-
单项选择题
在ASP.NET MVC中,阅读以下URL路由代码,下列选项中,URL符合规则的是()
A.http://localhost/locale
B.http://localhost/News/Locale
C.http://localhost/news/3
D.http://localhost/news/locale/4 -
单项选择题
下列不属于LINQ查询操作步骤的是()。
A.获取数据源
B.创建查询
C.执行查询
D.释放数据源 -
单项选择题
在ASP.NET中,下列关于缓存的代码写法有错误的是()。
A.Cache.Remove("user")
B.Cache.Add("user","mastanford")
C.Cache.Insert("user","mastanford")
D.Cache["user"]="mastanford
