腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(1707)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
如何将
SortedList
转换为
SortedList
<>
由于我使用的现有框架,方法调用将返回一个
SortedList
对象。因为这个调用的另一边是我写的,所以我知道它实际上是一个
SortedList
。虽然我可以继续使用
SortedList
,但使用泛型会更好地表达我的意思。那么,如何将非泛型
SortedList
更改为适当类型的泛型
SortedList
呢?我希望我的代理调用看起来像下面这样:{ return _s
浏览 1
提问于2012-08-09
得票数 5
回答已采纳
2
回答
无法创建具有其他
SortedList
的
SortedList
SortedList
<int, string> months = new
SortedList
<int, string>();我想创建一个
SortedList
,它包含另一个排序的'months‘类型列表,如上面的代码片段所示。months.Add(1, "Januar
浏览 1
提问于2012-05-05
得票数 0
2
回答
C# Linq
SortedList
滤波到
SortedList
中
我有一些代码,其中我正在做一些奇怪的事情,从
SortedList
中获取信息,然后返回到另一个
SortedList
中。我执行where子句,然后必须将所有的KeyValuePairs分别放回一个新的
SortedList
中。
SortedList
<DateTime, CalendarDay> most_days = new
SortedList
<
浏览 0
提问于2011-03-24
得票数 8
回答已采纳
1
回答
SortedList
比较
我有两个分类列表(特定于应用程序的信息-键是industryId,值是权重)我想要以下的东西-
浏览 3
修改于2012-07-26
得票数 1
回答已采纳
1
回答
SortedList
的困难
例如:可以将此内容添加到
SortedList
中吗?或者这是不可能的,因为它是相同密钥(1.5F)的两倍?posDiffRectFList.Add(1.5f, (10,20,100,100));
SortedList
<float, System.Drawing.RectangleF> posDiffRectFList = new
SortedList
<float, System.Drawing.RectangleF
浏览 0
修改于2013-04-26
得票数 0
回答已采纳
1
回答
SortedList
性能
我发现我的应用程序(使用
SortedList
)性能很差。所以我决定努力提高我的应用程序的性能。我创建了FastSortedList类,我认为它比原来的类要快。sorted = new
SortedList
(new TestComparer()); for (int i = 0; i < 1000000; i++){ } Console.WriteLine($"<em
浏览 0
修改于2020-10-26
得票数 5
2
回答
嵌套的
SortedList
如何在C#中创建带有
SortedList
的嵌套/多维数组?我相信通过阅读,
SortedList
在功能方面可能是最具可比性的。我尝试了以下方法,但它抛出了错误:arr.Add("hello",new
SortedList
()); arr.hello.Add("world",new
SortedList
());
浏览 3
修改于2017-06-01
得票数 0
1
回答
使用反射将[System.Collections.Generic.
SortedList
`2]转换为
SortedList
然而,当我试图比较一个
SortedList
时,我被困住了:Private Sub CompareObjects(obj1 As Object, obj2 As Object)`2") Then Dim itemList2 As
SortedList
= DirectCast(prop
浏览 0
提问于2013-09-10
得票数 0
回答已采纳
1
回答
SortedList
对KeyedCollection
最近我一直在使用
SortedList
(key,value),但是我想知道它与KeyedCollection(key,value)有什么不同,除了明显的排序部分。: 公共类MyClass<TKey,TItem> {私有
SortedList
<TKey,TItem> myList;} 扩展KeyedCollection
浏览 2
修改于2013-05-24
得票数 1
2
回答
将其重写为
SortedList
get; set; }} A.OrderByDescending我不确定是否应该打开一个新的问题,我从来没有预料
浏览 3
修改于2017-09-05
得票数 0
回答已采纳
3
回答
SortedList
和Linq
在阅读了关于在
SortedList
中使用Linq时所期望的内容的文档之后,我感到很困惑。 var firstKey2 = list.First().Key; var
sorte
浏览 1
修改于2017-05-09
得票数 0
回答已采纳
2
回答
从哈希表读取
SortedList
当哈希表中有这个结构时,如何从
SortedList
读取值?下面是一个例子sl[test] = 1;ht.Add(
浏览 0
修改于2014-05-24
得票数 2
回答已采纳
5
回答
通过
SortedList
迭代
SortedList
<string, systemuser> Users = new
SortedList
<string, systemuser>(); Users.Add("username1",customobject不知道如何实现这一点,因为
SortedList
似乎没有公开索引属性。
浏览 8
修改于2017-05-12
得票数 1
回答已采纳
5
回答
LINQ到
SortedList
我得到了一个对象的
SortedList
,键值是int;
SortedList
,而不是SortedDictionary,因为我将用预先排序的数据填充这个集合。illustration.{ public DateTime DT; static CX getItem(int i,
SortedList
浏览 3
提问于2010-05-24
得票数 8
回答已采纳
4
回答
SortedList
描述顺序
我使用
SortedList
按datecolumn动态排列arraylist记录,但在默认情况下是按升序排列的。我一直在尝试按降序排序,但无法获得。
浏览 0
修改于2017-11-07
得票数 30
回答已采纳
2
回答
如何清除(RecyclerView)
SortedList
?
我有一个
SortedList
,我用它来表示回收器视图中的数据,但是我很难在API调用之间“清除”数据。有什么帮助吗?
浏览 1
提问于2015-04-23
得票数 2
回答已采纳
3
回答
将
SortedList
转换为IOrderedEnumerable
我目前很难找到从IOrderedEnumerable中获取
SortedList
的方法。private static
SortedList
<int, A> RecursivelyBuildMySortedList(A myValue) if (myValue == StopCondition()) r
浏览 5
修改于2015-05-12
得票数 6
回答已采纳
3
回答
为什么有两种
SortedList
?
我有一个快速的应用程序,我想在其中使用
SortedList
。由于没有这么多的使用,我做了一个小的研究,以确保我知道我在做什么,并逐渐发现显然有两个版本。还是有一个
SortedList
具有其他特性?System.Collections.
SortedList
slist1 = new
SortedList
(); System.Collections.Generic.
SortedList
<string, object> slist2 = new
SortedList
<stri
浏览 3
提问于2016-07-11
得票数 3
回答已采纳
1
回答
更改
SortedList
的键
您不允许更改"
SortedList
“中的项的键。 做这件事最好的工具是什么。
浏览 5
提问于2014-01-30
得票数 1
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券