-
C# 创建泛型字典的例子
C# 创建泛型字典,为泛型字典添加3个元素,按键值对泛型字典进行排序操作。
Dictionary users = new Dictionary();//创建泛型字典
users.Add(3, new UserInfo(1, "滕*敏", "01"));//为泛型字典添加3个元素
users.Add(2, new UserInfo(2, "滕*娜", "02"));
users.Add(1, new UserInfo(3, "X家兴", "03"));
//按键值对泛型字典进行排序操作
var query = from item in users
where item.Value.UserName.CompareTo("滕*") > 0//用户名大于"滕立"
orderby item.Key
select item;
label1.Text = "显示查询结果:
";
foreach (var item in query)//显示查询结果
- 2022-08-02 11:59:24下载
- 积分:1
-
用于协议状态机的编程参考,可以用于协议设计。
用于协议状态机的编程参考,可以用于协议设计。-agreement for the state machine programming reference design can be used in the agreement.
- 2022-12-23 22:50:03下载
- 积分:1
-
手机游戏中jsr184的立即模式绘制4棱锥和贴图的演示
手机游戏中jsr184的立即模式绘制4棱锥和贴图的演示-phone games jsr184 immediate mode rendering 4 pyramid and textures demo
- 2022-02-22 13:17:37下载
- 积分:1
-
SparseLab is a Matlab software package designed to find sparse solutions to syst...
SparseLab is a Matlab software package designed to find sparse solutions to systems of linear equations, particularly underdetermined systems.
- 2022-01-26 08:09:49下载
- 积分:1
-
例如,不要找一个知道,很容易学习的人
E在线升级例子,不懂的一看就知道了,很简单易学-E Online upgrade example, do not look for one know, it is easy to learn
- 2022-08-20 09:29:08下载
- 积分:1
-
source insight的自定义宏,强烈建议使用,增强编辑功能
source insight的自定义宏,强烈建议使用,增强编辑功能-source insight custom macros, it is strongly recommended to enhance editing capabilities
- 2022-03-25 14:48:53下载
- 积分:1
-
VB操作数据库
VB操作数据库-VB database operations .....................................
- 2022-05-18 12:02:03下载
- 积分:1
-
下载管理
下载管理- Downloading manages
- 2022-02-20 23:08:16下载
- 积分:1
-
读入一个值n表示棋盘的大小,然后求出n*n格棋盘上放n皇后棋且不会相互吃掉对方的所有解答...
读入一个值n表示棋盘的大小,然后求出n*n格棋盘上放n皇后棋且不会相互吃掉对方的所有解答-Reading into a value of n, said the size of the chessboard, and then calculated n* n chessboard grid put n Queen s chess and will not eat each other all the answers
- 2022-01-28 19:03:50下载
- 积分:1
-
在AVR单片机AVR贪吃蛇游戏的游戏
snake game in avr snake game in avr-snake game in avr snake game in avr
- 2022-08-23 09:57:07下载
- 积分:1