小编San*_*dav的帖子

泛型中的排序列表

SortedListin 的默认容量是System.Collections.Generic多少?有人告诉我它是4,但下面的例子显示0.为什么?

        SortedList<int,string> sortedlist = new SortedList<int,string>();
        Console.WriteLine(sortedlist.Capacity);
Run Code Online (Sandbox Code Playgroud)

c# asp.net

2
推荐指数
1
解决办法
70
查看次数

标签 统计

asp.net ×1

c# ×1