关于SortedList的 定义public SortedList<int ,string> LyricList = new SortedList<int,string>();往其中添加数据后,怎么知道里面有没有某个特定的键如: LyricList.Add(1,"cat");之后怎么判断LyricList里有没有包含1; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 SortedList<int ,string> LyricList = new SortedList<int,string>(); LyricList.Add(1, "cat"); if (LyricList.ContainsKey(1)) { Console.WriteLine("LyricList里包含1"); } 如何把整个dataGridView数据保存到数据库里? 我用regasm.exe将dll文件注册进com+后,交给vb6调用,怎么才能知道dll内部的异常? [非常急]提交回来后重棒repeater里面的自定义控件消失 关于日期控件的数据绑定 当数据库中含有图片时怎样打包程序,可以使客户机器能很方便的重建库并还原数据库中的数据?? 建立学生管理系统中运行这种错误怎么解决? 单次纠偏接口 GET方式? 请教软件架构问题 创建C#窗口出现 文件中的类都不能进行设计,因此未能为该文件显示设计器。 编译后的问题? HTML 正则 怎么验证数据库里的信息
SortedList<int ,string> LyricList = new SortedList<int,string>();
LyricList.Add(1, "cat");
if (LyricList.ContainsKey(1))
{
Console.WriteLine("LyricList里包含1");
}