-
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
-
DOS下的CDROM读写加速驱动,使用DMA进行加速读写操作
DOS下的CDROM读写加速驱动,使用DMA进行加速读写操作-CDROM under DOS to read and write speed up the drive, to speed up the use of DMA read and write operation
- 2022-07-14 07:06:43下载
- 积分:1
-
Win32 API 编写的
Win32 API 编写的-prepared by the Win32 API
- 2022-09-22 22:00:02下载
- 积分:1
-
PC机与摄像机的串口通信,单片机用C8051F021
PC机与摄像机的串口通信,单片机用C8051F021-PC and camera serial communication, with C8051F021 MCU
- 2023-05-26 00:50:04下载
- 积分:1
-
sensorloss
DSP TMS320F28335 无位置传感器直流无刷电机控制(DSP TMS320F28335 BLDC)
- 2018-05-08 11:36:15下载
- 积分:1
-
1新高考模式下的选课排课问题分析
说明: 新高考模式下的选课排课问题分析matlab完整代码(Matlab Complete Code for Course Selection and Course Scheduling Problem Analysis under the New College Entrance Examination Mode)
- 2020-11-04 20:59:52下载
- 积分:1
-
导热matlab
实现二维非稳态导热计算, 使用有限差分法(Calculation of two-dimensional unsteady thermal conduction)
- 2021-03-19 09:29:20下载
- 积分:1
-
CCAforSSVEP-master
说明: 脑电信号的CCA分类处理,主要用于SSVEP(CCA classification of EEG signal is mainly used in SSVEP)
- 2021-04-12 12:08:57下载
- 积分:1
-
g7221annexc
说明: g7221c的编解码库可以用来编解码,好用(g7221c decode and encode sample)
- 2019-05-06 18:49:29下载
- 积分:1
-
RAGA.m
这个是我自己亲手打出来的,希望可以帮到大家。PPC-RAGA模型(This is my own hand and I hope to help you.)
- 2018-04-15 10:26:02下载
- 积分:1