LINQ:为什么将其称为& quot;理解语法&". [英] LINQ: Why is it called "Comprehension Syntax"

查看:59
本文介绍了LINQ:为什么将其称为& quot;理解语法&".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么:

接受或拥抱;包括;包含

此语法与定义集合中应包含的内容有关.

Why is the following LINQ syntax (sometimes called "query" syntax) called "comprehension" syntax? What's being comprehended (surely that's wrong)? Or, what is comprehensively represented (maybe I'm on the right track, now)?

解决方案

I suspect this is related to the second meaning of Comprehend:

to take in or embrace; include; comprise

This syntax has to do with defining what should be included in a set.

这篇关于LINQ:为什么将其称为& quot;理解语法&".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆