所有LINQ查询表达式关键字列表?(List of all LINQ query expression keywords? [closed])

编程入门 行业动态 更新时间:2024-10-28 17:15:26
所有LINQ查询表达式关键字列表?(List of all LINQ query expression keywords? [closed])

所以最近我一直在用LINQ做事,我一直在网上查找所有集成LINQ关键字的完整列表,但我找不到任何。

这些是我所知道的一些:

from in let group by into orderby where select

还有其他我不知道的东西吗? 我可以在哪里找到集成LINQ的所有可能的完整列表?

So I've been doing things with LINQ lately and I've been looking online for a complete list of all integrated LINQ keywords and i couldn't find any.

These are some of the ones i know:

from in let group by into orderby where select

Are there any others that I don't know about? Where can I go to find a complete list of all the things possible with integrated LINQ?

最满意答案

您需要通过查询表达式区分标准LINQ查询运算符和C#支持的运算符。 前者比后者多得多 - 而VB直接支持其中一些语言。

有关所有不同运算符以及哪些查询表达式部分绑定到它们的详细信息,您可能需要阅读我的Edulinq博客文章系列 。 这是为了教育目的而重新实现LINQ到Objects,看看每个操作符的行为方式等等。 第41部分明确地涉及查询表达式,包括底部的备忘单。

You need to distinguish in your mind between the standard LINQ query operators and the operators that are supported in C# by query expressions. There are far more of the former than the latter - and VB supports some of them in the language directly.

For quite a bit of detail about all the different operators, and which query expression parts bind to them, you may want to read my Edulinq blog post series. It's a reimplementation of LINQ to Objects for educational purposes, looking at how each operator behaves etc. Part 41 is explicitly about query expressions, including a cheat sheet at the bottom.

更多推荐

本文发布于:2023-07-30 07:55:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1336770.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:表达式   关键字   列表   LINQ   List

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!