Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
为什么 .NET 中的许多命名集合没有实现 IEnumerable
?
随机示例 ConfigurationElementCollection Net 有大量这样的小东西WhateverCollection未实现的类IEnumerable
c
IEnumerable
使用 IEnumerable 和 IQueryable 作为 ObjectSet 类型时的差异
据我了解 当我使用 LINQ 扩展方法 带有 lambda 表达式语法 时IQueryable那是在事实实例中ObjectSet它们被转换为 LINQ to SQL 查询 我的意思是这个命令 IQueryable
c
NET
EntityFramework
IEnumerable
iqueryable
如何在实现 IEnumerable
的字典包装类中实现 IEnumerable?
我正在尝试创建一个包装器Dictionary
c
IEnumerable
为什么在 DataTable 上调用 AsEnumerable() 会阻止 GridView 与其绑定?
在我的 aspx 页面中 我有一个
c
aspnet
databinding
adonet
IEnumerable
SortedSet - 存储类对象时的自定义顺序
我正在考虑用 SortedSet 替换 HashSet 因为它更适合我存储的数据 然而 到目前为止我看到的所有示例都与存储简单对象有关 整数 字符串等 我想为具有多个属性的自定义类实现此功能 但是该类还包含一个我想用作 索引器 的日期 问题
c
aspnet
IEnumerable
HashSet
sortedset
有条件地平均 DataTable 中的一列数据
我有一个 DataTable 对象 dTable 其中所有 DataColumn 数据类型都是字符串或双精度 列中的某些数字不存在 即 空 现在我有下面的代码来查找平均值 并且当有值时它效果很好 var sum dTable AsEnume
c
LINQ
IEnumerable
foreach 如何将对象转换为指定类型?
我有一个问题foreach行为在C 我的自定义类实现了自定义GetEnumerator 该方法返回另一个object可以隐式转换为string 但是如果我这样做foreach string s in customClass 它在运行时失败
c
foreach
IEnumerable
如何对可枚举进行分块?
我需要一种优雅的方法 它接受一个可枚举值 并获取可枚举值的可枚举值 其中每个元素的数量相同 但最后一个是 public static IEnumerable
c
LINQ
IEnumerable
枚举器的行为会根据我们引用它的方式而变化吗?
将列表枚举器的引用包装在类中似乎会改变其行为 匿名类的示例 public static void Main var list new List
c
IEnumerable
使用 LINQ 获取 IEnumerable 中的上一个和下一个项目
我有一个自定义类型的 IEnumerable 我从 SelectMany 那里得到的 我在 IEnumerable 中还有一个项目 myItem 我想要 IEnumerable 中的上一个和下一个项目 目前 我正在做这样的事情 var pr
c
LINQ
IEnumerable
在树结构上实现 IEnumerable
基于这些人的工作 http dvanderboom wordpress com 2008 03 15 treet implementing a non binary tree in c http www matthidinger com a
c
Collections
Tree
IEnumerable
treenode
为什么纯 IEnumerable 的内容对于 WPF DataGrid 是不可见的?
假设我有一个数据网格 其中 itemssource 绑定到属性 Collection 例如 IEnumerable 当然 我为其编写了适当的 getter 和 setter 现在 当我分配给这个属性 集合 时 只是 IEnumerable
c
WPF
databinding
datagrid
IEnumerable
实体集合的 IList 与 IEnumerable
当我的域中存在包含事物列表的实体时 它们是否应该公开为 IList 或 IEnumerable 例如 Order 有一堆 OrderLines IEnumerable
Collections
IEnumerable
ilist
洗牌所需的 IEnumerable 的扩展方法[重复]
这个问题在这里已经有答案了 我需要一个扩展方法来洗牌IEnumerable
c
IEnumerable
shuffle
在 PowerShell 中检查 IEnumerable 是否为空
是否有本地 PowerShell 方法来测试 如果IEnumerable是空的 我知道我可以打电话Linq Enumerable Any像这样 Linq Enumerable Any enumeration 但我希望有一种更本土化的方式 很
NET
PowerShell
IEnumerable
Linq To Sql 从函数返回 IQueryable
好的 我已经成功地完成了以下工作 public IQueryable getTicketInformation int ticketID var ticketDetails from tickets in context tickets j
c
linqtosql
generics
IEnumerable
iqueryable
对自定义类的 IEnumerable 中具有特定 ID 的项目求和
CustomClass int ID int numberToSum float numToAverage IEnumerable
c
NET
LINQ
list
IEnumerable
在 .NET 6 Minimal API 中使用 IEnumerable<> 和 IFormFileCollection
问题是 我有一个从 URL 连接 pdf 的 API 它在 NET 5 中工作 但是当开始迁移到 NET 6 时 使用 IEnumerable IFormFile 和 IFormFileCollection 只接受请求 applicatio
c
IEnumerable
net60
minimalapis
使用 IEnumerable
和 Linq-To-Sql 时如何防止内存溢出?
这个问题与我之前的一个问题 这是我当前的代码 IEnumerable
c
NET
linqtosql
IEnumerable
yield
在 VB.Net 中使用 LINQ 将集合拆分为 n 个部分
Question 在 VB Net 中 如果我有一个像这样的集合 Dim collection As IEnumerable Of Integer Enumerable Range 0 99 我如何将它分成不确定数量的元素的组 可枚举的 状
NET
VBNET
LINQ
IEnumerable
«
1
2
3
4
5
6
7
8
»